OverviewExamples
Returns a table of information about a given drive.
(string) The drive whose information you want. The drive must be in the format "C:" or "C:\".
(table) A table containing the specified drive's information, indexed by the following keys:
KEY |
TYPE |
DESCRIPTION |
Label |
string |
The volume label of the drive. You can access this value using tb.Label. |
FileSystem |
string |
The type of file system on the drive. For example, "FAT32", "NTFS", etc. You can access this value using tb.FileSystem. |
SerialNumber |
number |
The drive's serial number. You can access this value using tb.SerialNumber. |
DisplayName |
string |
The description of the drive as it appears in Windows Explorer's My Computer view. You can access this value using tb.DisplayName. |
If an error occurs, nil is returned. You can use Application.GetLastError to determine whether this action failed, and why.
See also: Related Actions