The Drive Object |
The Drive object provides access to all the drives available on the machine.

AvailableSpace |
| Property
Returns the amount of space available to this user on the drive, taking into account quotas and/or other restrictions.

DriveLetter |
| Property
Returns the drive letter of the drive.

DriveType |
| Property
Returns the type of the drive. The values are: Unknown (0), Removable (1), Fixed (2), Network (3), CDRom (4), and RamDisk (5). However, note that the current version of scrrun.dll does not include the pre-defined constant for Network, so you must use the decimal value 3 instead.

FileSystem |
| Method
Returns the type of file system for the drive. The values include "FAT", "NTFS" and "CDFS".

FreeSpace |
| Method
Returns the actual amount of free space available on the drive.

IsReady |
| Method
Returns a Boolean value indicating if drive is ready (True) or not (False).

Path |
| Method
Returns the path for the drive as a drive letter and colon, i.e. "C:".

RootFolder |
| Method
Returns a Folder object representing the root folder of the drive.

SerialNumber |
| Method
Returns a decimal serial number used to uniquely identify a disk volume.

ShareName |
| Method
Returns the network share name for the drive if it is a networked drive.

TotalSize |
| Method
Returns the total size (in bytes) of the drive.

VolumeName |
| Method
Sets of returns the volume name of the drive if it is a local drive.