Edit a disk label.

Syntax LABEL [drive:][label]

The disk label is never referred to by other batch commands, it's just for human recognition.

e.g. as a reminder of which floppy disk is actually in the machine.

The maximum length is 11 characters (spaces allowed)

This is not to be confused with the drive description held in the registry.


LABEL A: My work disk

"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