August 1999
Intermediate to advanced
1488 pages
72h 53m
English
Core JScript Collection of File objects.
The Files object represents a collection of files in a folder. The Files object has specific properties and methods associated with it, which are shown in Table 9.12.
| Property/Method | Description |
|---|---|
| Count | Returns the number of items in a collection |
| Item | Sets or returns an item based on a specific key |
Listing 9.66 shows how to create a new Files object.
<html> <body> <script language="JScript"> <!-- Hide // function displays a list of the files // in the specified folder. function ShowList(foldername) { var myObject, f, MyFiles, names; // Create an instance of the FileSystemObject ... |
Read now
Unlock full access