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
The drive descriptor shown in Windows Explorer can also be modified with a few lines of PowerShell:
# Rename drive S: to 'Shared'
$objshell = New-Object -ComObject "Shell.Application"
$objshell.NameSpace($mapDrive).Self.Name = "Shared"
“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"
Equivalent bash command (Linux): hostname - Print or set system name