August 1999
Intermediate to advanced
1488 pages
72h 53m
English
folder.Files
The Files property of an instance of the Folder object, returns a collection consisting of all the File objects contained in the folder. This includes hidden and system files.
Listing 9.103 creates and instance of the Folder object, and then creates an instance of the Enumerator object to access the collection of files contained in the Files property. If this example is loaded in a browser, each of the files contained in the folder will be written to the page.
<script language="JScript1.1"> <!-- Hide // Create an instance of the FileSystemObject var myFileSysObj = new ActiveXObject("Scripting.FileSystemObject"); // Create an instance ... |
Read now
Unlock full access