CmdID

CmdID / Commands

label

Creates, changes, or deletes the volume label (that is, the name) of a disk. Windows commands reference

On Windows File label.exe

Opens CmdID with your command. It is read in your browser and sent nowhere.

Windows

from the Windows commands reference, CC BY 4.0

Creates, changes, or deletes the volume label (that is, the name) of a disk. If used without parameters, the label command changes the current volume label or deletes the existing label. - Windows displays the volume label and serial number (if it has one) as part of the directory listing. - An NTFS volume label can be up to 32 characters in length, including spaces. NTFS volume labels retain and display the case that was used when the label was created.

label [/mp] [<volume>] [<label>]

To label a disk in drive A that contains sales information for July, type

label a:sales-julyIdentify

1. At the command prompt, type

2. Press ENTER. The following prompt should be displayed

Delete current volume label (Y/N)?Identify
/mpSpecifies that the volume should be treated as a mount point or volume name.
<volume>Specifies a drive letter (followed by a colon), mount point, or volume name. If a volume name is specified, the /mp parameter is unnecessary.
<label>Specifies the label for the volume.
/?Displays help at the command prompt.