Microsoft® Scripting Library - The FileSystemObject Object

Microsoft Office JScript

Microsoft® Scripting Library - FileSystemObject The FileSystemObject Object Model
  Next


When writing scripts for Active Server Pages, the Windows Scripting 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: