label (command)
Page Module:Infobox/styles.css has no content.
| Script error: No such module "If empty". | |
|---|---|
| [[Programmer|DeveloperTemplate:Pluralize from text]] | Microsoft, IBM, Digital Research, Novell, Joe Cosentino, ReactOS Contributors |
| Initial release | August 1984Script error: No such module "Check for unknown parameters". |
| Written in | Script error: No such module "If empty". |
| Engine | Page Template:Plainlist/styles.css has no content.Script error: No such module "Check for unknown parameters".Template:EditAtWikidata |
| Operating system | Script error: No such module "If empty". |
| Platform | Cross-platform |
| Type | Command |
| License | MS-DOS, PC DOS, Windows, OS/2: Proprietary commercial software FreeDOS, ReactOS: GNU General Public License |
| Website | docs |
| Repository | Page Template:Plainlist/styles.css has no content.
|
Script error: No such module "Check for unknown parameters".Script error: No such module "Check for conflicting parameters".
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,[1] OS/2,[2] Windows,[3] ReactOS,[4] DR DOS 6.0,[5] and FreeDOS.[6] It is available in MS-DOS versions 3.1 and later and IBM PC DOS releases 3 and later.[7][8]
In modern versions of Windows, changing the label requires elevated permissions.[9]
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.[9]
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 label D:Backup sets the label of Page Template:Mono/styles.css has no content.D: to "Backup".
With the /MP option, the command accepts up to two arguments: volume and label. In this case, the volume argument is treated as a mount point or a volume name. If volume name is specified, the /MP option is unnecessary.
See also
References
Page Template:Reflist/styles.css has no content.
- ^ Lua error in package.lua at line 80: module 'Module:Citation/CS1/Utilities' not found.
- ^ Lua error in package.lua at line 80: module 'Module:Citation/CS1/Utilities' not found.
- ^ Microsoft TechNet Label article
- ^ https://github.com/reactos/reactos/blob/master/base/shell/cmd/label.c Lua error in package.lua at line 80: module 'Module:Category handler/data' not found.Lua error in package.lua at line 80: module 'Module:Category handler/data' not found.[dead link]Script error: No such module "Check for unknown parameters".
- ^ Lua error in package.lua at line 80: module 'Module:Citation/CS1/Utilities' not found.
- ^ Lua error in package.lua at line 80: module 'Module:Citation/CS1/Utilities' not found.
- ^ Lua error in package.lua at line 80: module 'Module:Citation/CS1/Utilities' not found.
- ^ MS-DOS and Windows command line label command
- ^ a b Label - Disk label - Windows CMD - SS64.com
Script error: No such module "Check for unknown parameters".
Further reading
- Lua error in package.lua at line 80: module 'Module:Citation/CS1/Utilities' not found.
- Lua error in package.lua at line 80: module 'Module:Citation/CS1/Utilities' not found.
- Lua error in package.lua at line 80: module 'Module:Citation/CS1/Utilities' not found.
External links
Script error: No such module "Side box".
Lua error in package.lua at line 80: module 'Module:Navbox/configuration' not found.