Command: label
LABEL creates, changes or deletes the volume label of a disk.
Syntax:
LABEL [drive:][label] [/?]
drive: Specifies which drive you want to assign a label, e.g. C:
If missing, the current drive is assumed.
Options:
label Specifies the new LABEL you want to label the drive.
If missing, LABEL prompts you for it.
/? Shows the help.
Comments:
The LABEL (name) of the partition can be up to 11 letters long.
Network drives and a drive which has been ASSIGNED, JOINed or
SUBSTed or SWSUBSTed can not be labeled.
The latest version of LABEL (ver 1.5) supports NLS.
Examples:
label C:
label C: PARTITION-C
label D: my_files
dir c: (shows: PARTITION-C)
dir d: (shows: MY_FILES)
vol c: (d:) (same as dir)
See also:
assign
dir
fdisk
format
join/subst/swsubst
vol
Copyright © 2004 Robert Platt, updated 2007 and 2022 by W. Spiegl.
This file is derived from the FreeDOS Spec Command HOWTO.
See the file H2Cpying for copying conditions.