LABEL

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.

Example

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

Related:

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


© Copyright SS64.com 1999-2013
Some rights reserved