Microsoft® Windows® 2000 Scripting Guide
« Previous | Next »
Disk drive properties such as FreeSpace and TotalSize provide global information that is important to system administrators. However, disk drive information is necessary, but not sufficient, for managing a file system. Although it is important to know which drive a file is stored on, you also need to know the folder in which that file is stored. In addition, many other system management tasks take place at the folder level: Folders are copied, folders are moved, folders are deleted, folder contents are enumerated.
The FileSystemObject can return detailed information about the folders on a disk drive. In addition, the FileSystemObject provides a number of methods for carrying out such tasks as copying, moving, and deleting folders, and for enumerating the files and subfolders within a folder.
Send us your feedback | « Previous | Next » |