encyclopegia.org

Label (command)

label is a shell command for setting the label of a volume (a.k.a. logical drive). The command is supported for most variants of the FAT file system and for NTFS. It is available in various operating systems such as DOS, OS/2, Windows, ReactOS, DR DOS 6.0, and FreeDOS. It is available in MS-DOS versions 3.1 and later and IBM PC DOS releases 3 and later. In modern versions of Windows, changing the label requires elevated permissions. The current label is reported by both the dir and vol commands. In Unix-like systems, various commands set a storage label. For instance, the command e2label is for an ext2 partition. The command was originally designed to label floppy disks as a reminder of which one is in the disk drive. But it can be used for other types of storage media.

label is a shell command for setting the label of a volume (a.k.a. logical drive). The command is supported for most variants of the FAT file system and for NTFS. It is available in various operating systems such as DOS, OS/2, Windows, ReactOS, DR DOS 6.0, and FreeDOS. It is available in MS-DOS versions 3.1 and later and IBM PC DOS releases 3 and later. In modern versions of Windows, changing the label requires elevated permissions. The current label is reported by both the dir and vol commands. In Unix-like systems, various commands set a storage label. For instance, the command e2label is for an ext2 partition. The command was originally designed to label floppy disks as a reminder of which one is in the disk drive. But it can be used for other types of storage media. ==Use== With no options, the command accepts a single argument may start with a drive letter (ending with a colon) and may end with label text. Without a drive letter, the command operates on the volume associated with the working directory. Without label text, the command clears the label. For example, the command line sets the label of to "Backup". With the option, the command accepts up to two arguments: and . In this case, the argument is treated as a mount point or a volume name. If volume name is specified, the /MP option is unnecessary. ==See also== List of DOS commands ==References== ==Further reading== ==External links== label | Microsoft Docs

References

No reference rows published for this article.

Cite this article

MLA

"Label (command)." encyclopegia.org, 2025, https://encyclopegia.org/wiki/label-command. Accessed 24 November 2026.

Chicago

"Label (command)." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/label-command.

APA

encyclopegia.org. (2025). Label (command). Retrieved November 24, 2026, from https://encyclopegia.org/wiki/label-command

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Move (command)

enwiki · references available

Ren (command)

enwiki · references available

TYPE (DOS command)

enwiki · references available

Del (command)

enwiki · references available

Ver (command)

enwiki · references available

Pushd and popd

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1330126167 · 0.5 · snapshot enwiki-001330126167

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.