When writing scripts for Active Server Pages, the Windows Script Host, or other applications where scripting can be used, it's often important to add, move, change, create, or delete folders (directories) and files on the Web server. It may also be necessary to get information about and manipulate drives attached to the Web server.
Scripting allows you to process drives, folders, and files using the FileSystemObject (FSO) object model, which is explained in the following sections:
The FileSystemObject Object Model
The FileSystemObject object model allows you to use the familiar object.method syntax with a rich set of properties, methods, and events to process folders and files.
A list of the objects and collections in FileSystemObject object model.
Programming the FileSystemObject
Description of how to program with the FileSystemObject.
Working with Drives and Folders
Describes how you use the FileSystemObject to copy and move folders, as well as get information about drives and folders.
Describes how you use the FileSystemObject to manipulate files.
A real-world example that demonstrates many of the features available in the FileSystemObject object model.