label (command)

In computing, label is a command included with some operating systems (e.g., DOS,[1] OS/2 and Microsoft Windows[2]). It is used to create, change, or delete a volume label on a logical drive, such as a hard disk partition or a floppy disk. Used without parameters, label changes the current volume label or deletes the existing label.

In Unix and other Unix-like operating systems, the name of the equivalent command differs from file system to file system. For instance, the command e2label can be used for ext2 partitions.

Syntax

LABEL [drive:][label]
LABEL [/MP] [volume] [label]

Arguments:

Flags:

Note: If volume name is specified, the /MP flag is unnecessary.

Example

C:\Users\root>label D: Backup

Supported file systems

Limitations

FAT volume labels

NTFS volume labels

See also

References

  1. Jamsa, Kris A. (1993), DOS: The Complete Reference, Osborne McGraw-Hill, ISBN 0078819040.
  2. Microsoft TechNet Vol article
This article is issued from Wikipedia - version of the 10/28/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.