Documentation/DriveInfo
classWORKERCLONEABLE

DriveInfo

js/foo_uie_jsplitter.js:4387

Object returned by utils.GetDriveInfo.
Property names and semantics follow the Microsoft Scripting Runtime Drive object where applicable.

propertyWORKERreadonly

AvailableSpace

js/foo_uie_jsplitter.js:4498
AvailableSpace: number = 0

Free space available to the current user in bytes, or 0 if unavailable.

propertyWORKERreadonly

DriveLetter

js/foo_uie_jsplitter.js:4416
DriveLetter: string = ""

Drive letter without the colon, or an empty string when the volume has no drive letter.

propertyWORKERreadonly

DriveType

js/foo_uie_jsplitter.js:4425
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.

propertyWORKERreadonly

FileSystem

js/foo_uie_jsplitter.js:4453
FileSystem: string = ""

File system name, or an empty string if unavailable.

propertyWORKERreadonly

FreeSpace

js/foo_uie_jsplitter.js:4489
FreeSpace: number = 0

Total free space in bytes, or 0 if unavailable.

propertyWORKERreadonly

IsReady

js/foo_uie_jsplitter.js:4436
IsReady: boolean = false

true if volume or space information can be queried.

propertyWORKERreadonly

Path

js/foo_uie_jsplitter.js:4398
Path: string = ""

Drive path, for example C:. For a mapped network drive this is still the mapped drive path.

propertyWORKERreadonly

RootFolder

js/foo_uie_jsplitter.js:4407
RootFolder: string = ""

Root folder path, for example C:\.

propertyWORKERreadonly

SerialNumber

js/foo_uie_jsplitter.js:4462
SerialNumber: number = 0

Volume serial number, or 0 if unavailable.

propertyWORKERreadonly

ShareName

js/foo_uie_jsplitter.js:4471
ShareName: string = ""

Share name for a network drive, or an empty string for a local drive or when unavailable.

propertyWORKERreadonly

TotalSize

js/foo_uie_jsplitter.js:4480
TotalSize: number = 0

Total size in bytes, or 0 if unavailable.

propertyWORKER

VolumeName

js/foo_uie_jsplitter.js:4445
VolumeName: string = ""

Volume label, or an empty string if unavailable. Writable for ready volumes.