| Home | All functions | Categories |
vuVolumeSerialNo(*CSTRING), LONG
Returns the volume serial number of the specified root directory. Supports both mapped drives and UNC paths.
| Parameter | Data Type | Description |
|---|---|---|
| tDir | CSTRING(128) | Path to the root directory (for example, G:\ or \\MyServer\C\). |
Note: In vuFileTools V5, CSTRINGs are not limited to the size shown above. The number is for example only.
A LONG integer containing the volume serial number of the specified root directory.
tDir = 'G:\'
SerialNo = vuVolumeSerialNo(tDir)
MESSAGE('The volume serial number of ' & tDir & ' is ' & SerialNo)
tDir points to a valid root directory.| Home | All functions | Categories |