DriveInfo
Object returned by utils.GetDriveInfo.
Property names and semantics follow the Microsoft Scripting Runtime Drive object where applicable.
Object returned by utils.GetDriveInfo.
Property names and semantics follow the Microsoft Scripting Runtime Drive object where applicable.
AvailableSpace: number = 0
Free space available to the current user in bytes, or 0 if unavailable.
DriveLetter: string = ""
Drive letter without the colon, or an empty string when the volume has no drive letter.
DriveType: number = 0
Drive type.
Values are compatible with Scripting.FileSystemObject:
0 - unknown, 1 - removable, 2 - fixed, 3 - network, 4 - CD-ROM, 5 - RAM disk.
FileSystem: string = ""
File system name, or an empty string if unavailable.
FreeSpace: number = 0
Total free space in bytes, or 0 if unavailable.
IsReady: boolean = false
true if volume or space information can be queried.
Path: string = ""
Drive path, for example C:. For a mapped network drive this is still the mapped drive path.
RootFolder: string = ""
Root folder path, for example C:\.
SerialNumber: number = 0
Volume serial number, or 0 if unavailable.
ShareName: string = ""
Share name for a network drive, or an empty string for a local drive or when unavailable.
TotalSize: number = 0
Total size in bytes, or 0 if unavailable.
VolumeName: string = ""
Volume label, or an empty string if unavailable. Writable for ready volumes.