Edit a disk label.
Syntax LABEL [/MP][volume] [drive:][label] Key Drive: The drive letter of the disk to be named. label The name for the volume. /MP Treat the volume as a mount point or volume name. volume The drive letter, mount point, or volume name. If a volume name is specified, the /MP parameter is unnecessary. /? Display help.
Originally designed as a reminder of which floppy disk is in the machine, disk labels can also be applied to hard drives and mapped drives.
A volume label can contain as many as 32 characters for NTFS volumes and as many as 11 characters for FAT volumes and can include spaces but no tabs.
FAT volume labels are not case sensitive and cannot contain any of the following characters: * ? / \ | . , ; : + = [ ] < > " This limitation does not apply to NTFS volumes.
If you do not specify a label when you use the label command, label displays a message including the "Volume Serial Number" if one exists.
Disk labels should not be confused with the drive description held in the registry.
To label the disk drive D: as SS64,
C:\ > label d:SS64
“A name is a label, and as soon as there is a label, the ideas disappear and out comes label-worship and label-bashing” ~ Richard Bach
VOL - display the volume label
Powershell: gwmi win32_logicaldisk "volumeName"
Q159865 - How to distinguish a physical disk device (registry settings)
Equivalent bash command (Linux): hostname - Print or set system name