The Drive virtual table gives you an overview of the logical drives on your computer. The Drive virtual table contains the following fields.

Field Description


The name of the drive, such as drive C or D.


Indicates whether the disk is removable (a CD-ROM or similar) or a hard disk.


The total size of the disk.


The amount of free space on the disk.

You must create a tabular-type page to access the Drive virtual table.

If there is no disk in your disk drive, the SizeInKilobyte and FreeInKilobyte fields will contain the value -1.

See Also