| << B.2.0- The Scripting.FileSystemObject Object | AppendixB | B.2.2- The Folder Object >> |
The Drive Object
The Drive object provides access to all the drives available on the machine.
Property | Description |
AvailableSpace | Returns the amount of space available to this user on the drive, taking into account quotas and/or other restrictions. |
DriveLetter | Returns the drive letter of the drive. |
DriveType | Returns the type of the drive. The values are: Unknown (0), Removable (1), Fixed (2), Remote (3), CDRom (4), and RamDisk (5). Remote in this context is what you might call Network instead. |
FileSystem | Returns the type of file system for the drive. The values include "FAT", "NTFS" and "CDFS". |
FreeSpace | Returns the actual amount of free space available on the drive. |
IsReady | Returns a Boolean value indicating if drive is ready (True) or not (False). |
Path | Returns the path for the drive as a drive letter and colon, i.e. "C:". |
RootFolder | Returns a Folder object representing the root folder of the drive. |
SerialNumber | Returns a decimal serial number used to uniquely identify a disk volume. |
ShareName | Returns the network share name for the drive if it is a networked drive. |
TotalSize | Returns the total size (in bytes) of the drive. |
VolumeName | Sets or returns the volume name of the drive if it is a local drive. |
| << B.2.0- The Scripting.FileSystemObject Object | AppendixB | B.2.2- The Folder Object >> |

RSS
