Name
Label —
\windows\system32\label.exe
Synopsis
Change the label of any hard disk, floppy disk, or removable media.
To Open
Command Prompt →
label
Usage
label [drive:] [label]
Description
Every disk has a label, the name shown in Explorer next to the drive
letter (except for floppies). To change the label for any disk,
right-click on its icon in Explorer (or the My Computer window),
select Properties, and type a new name in the unlabeled field at the
top of the properties window. The Label tool duplicates this
functionality from the command line. For example, to change the label
of drive c: to
“shoebox,” type:
label c: shoebox
If you omit label, you will be prompted to
enter a new label. If you omit drive,
label will use the current drive.
Notes
A disk’s label has no effect on the operation of the disk; for hard disks, it’s purely decorative. For CDs and other removable media, it’s used to quickly identify what’s in the drive.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access