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

Drive

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

Removable

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

Size (KB)

The total size of the disk.

Free (KB)

The amount of free space on the disk.

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

NoteNote

If there is no disk in your disk drive, the Size (KB) and Free (KB) fields will contain the value -1.

Expand imageSee Also