| Home | All functions | Categories |
vuVolumeLabel(*CSTRING), CSTRING
Returns the volume label 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 CSTRING containing the volume label of the specified root directory.
tDir = 'G:\'
Label = vuVolumeLabel(tDir)
MESSAGE('The volume label of ' & tDir & ' is ' & Label)
tDir points to a valid root directory.| Home | All functions | Categories |