MS JScript JavaScript Tutorial

Syntax

driveobject.VolumeName
    driveobject.VolumeName = newVolumeName
The VolumeName property contains the volume name of the specified drive. If an equal sign follows this property, the volume name is set to newVolumeName.