docs

Home All functions Categories

vuVolumeLabel(tDir)

vuVolumeLabel(*CSTRING), CSTRING

Description

Returns the volume label of the specified root directory. Supports both mapped drives and UNC paths.

Parameters

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.

Returns

A CSTRING containing the volume label of the specified root directory.

Example

tDir = 'G:\'
Label = vuVolumeLabel(tDir)
MESSAGE('The volume label of ' & tDir & ' is ' & Label)

Notes

Home All functions Categories