Files object (Object/JScript)

A collection of files belonging together in a folder.


JScript - 3.0
Internet Explorer - 4.0
JavaScript syntax:IEmyFiles = myFolder.Files
Object properties:Count
Object methods:Item()

This object is obtained by inspecting the Files property of a Folder object. The Files object is a collection containing objects that encapsulate the files in that folder. Each file is represented by a separate File object. You can then examine each of those objects to operate on them as you need to.

The Files object provides a method for searching and extracting a named File object within the collection and a property that yields the number of File objects in the collection.

You should be able to traverse the Files object using array indexing techniques or by means of an Enumerator object.

See also:Enumerator object

Count n/a3.0 3.0 n/a4.0 4.0 n/a n/a n/a n/a n/a n/areadonly

Item() n/a3.0 3.0 n/a4.0 4.0 n/a n/a n/a n/a n/a n/a-