Returns the volume label of the specified drive.
Label := DriveGetLabel(Drive)
Type: String
The drive letter followed by a colon and an optional backslash, or a UNC name such as "\server1\share1"
.
Type: String
This function returns the Drive's volume label.
An exception is thrown on failure.
DriveSetLabel, Drive functions
See example #1 on the Drive Functions page for a demonstration of this function.