docs

Home All functions Categories

vuVolumeSerialNo(tDir)

vuVolumeSerialNo(*CSTRING), LONG

Description

Returns the volume serial number 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 LONG integer containing the volume serial number of the specified root directory.

Example

tDir = 'G:\'
SerialNo = vuVolumeSerialNo(tDir)
MESSAGE('The volume serial number of ' & tDir & ' is ' & SerialNo)

Notes

Home All functions Categories