Vol - DOS/Command Prompt Reference
Outputs the volume label and serial number of a disk.
Syntax
vol [<drive>:]
<drive>: | Specifies the drive letter of the disk you want to display with a ‘:’ appended. If not specified, the current drive will be used. |
Details
The format displayed by this command is the same as the output of the Dir command, excluding cases where options to suppress output are specified.
To set the volume label, use the Label command.