Skip to content
Permalink
Fetching contributors…
Cannot retrieve contributors at this time
84 lines (42 sloc) 2.71 KB

type: drive

The <drive> object is available to inspect these aspects of the file system.

file system type of <drive> : string

Value as reported by GetVolumeInformation.

file_supports_encryption of <drive> : boolean

TRUE if bit is returned by GetVolumeInformation.

file_supports_object_ids of <drive> : boolean

TRUE if bit is returned by GetVolumeInformation.

file_supports_reparse_points of <drive> : boolean

TRUE if bit is returned by GetVolumeInformation.

file_supports_sparse_files of <drive> : boolean

TRUE if bit is returned by GetVolumeInformation.

file_volume_quotas of <drive> : boolean

TRUE if bit is returned by GetVolumeInformation.

folder <string> of <drive> : folder

Returns a folder object corresponding to the name given provided that folder exists on the drive.

free space of <drive> : integer

Returns the number of unused bytes of storage for the drive. (Only available for fixed disks).Example: free space of drive "c:" < 1000000 - Returns True if there is less than one million bytes of space left on drive C.

fs_case_is_preserved of <drive> : boolean

TRUE if bit is returned by GetVolumeInformation.

fs_case_sensitive of <drive> : boolean

TRUE if bit is returned by GetVolumeInformation.

fs_file_compression of <drive> : boolean

TRUE if bit is returned by GetVolumeInformation.

fs_persistent_acls of <drive> : boolean

TRUE if bit is returned by GetVolumeInformation.

fs_unicode_stored_on_disk of <drive> : boolean

TRUE if bit is returned by GetVolumeInformation.

fs_vol_is_compressed of <drive> : boolean

TRUE if bit is returned by GetVolumeInformation.

name of <drive> : string

Returns the name of the drive. Names look like 'c:' and 'D:'.Example: name of drive of regapp "vshield.exe" as lowercase = "e:" - Returns True if the application exists on drive E.

numeric type of <drive> : integer

Returns the type of drive as an integer.Example: numeric type of drive "e:" = 5 - Returns True if drive E is a CD-ROM. (See notes).

root folder of <drive> : folder

Returns the folder corresponding to the root of the drive.

total space of <drive> : integer

Returns the size in bytes of the drive. (Only available for fixed disks).Example: total space of drive "c:" > 2000000000 - Returns True when the drive is capable of holding more than 2 billion bytes.

type of <drive> : string

Returns the type of drive as a string.Example: type of drive of the system folder = "DRIVE_FIXED" - Returns True if the system folder is on a fixed disk drive.

volume of <drive> : string

Returns the volume name of the drive if present

You can’t perform that action at this time.