Product Site

8.12. SysDriveInfo (Windows only)

Returns drive information in the form drive free total label, where drive is the drive identifier, free is the total number of unused bytes, total is the total size in bytes, and label is the volume label of the specified drive. Returns the null string if the drive is not accessible.

If drive is omitted, the current drive is used.

Parameter:
drive

A drive specification like d:\ or \\share\path.
Example 8.4. RexxUtil — SysDriveInfo
say SysDriveInfo() -- e. g. C: 23989809152 254721126400 Windows