LABEL(DOS) UNIX System V LABEL(DOS)
Name
label - creates, changes, or deletes the volume
identification label on a disk
Syntax
label [drive:][label]
Description
The volume label may be up to 11 characters in length and
may include spaces, but not tabs. Aside from tabs, you also
should not use the following characters in a volume label:
* ? / \ | .
, ; : + = < > [ ]
If you do not specify a volume label, label prompts you with
the following message:
Volume in drive X is xxxxxxxxxx
Volume label (11 characters, ENTER for none)? _
If the disk does not already have a volume label, label
prompts you with the message:
Volume in drive X has no label
Volume label (11 characters, ENTER for none)? _
Type the volume label that you want and press <Return>. Or,
you can press <Return> immediately if you want to delete the
volume label. The label command would then prompt you with
the message:
Delete current volume label (Y/N)?_
If you press y, label deletes the volume label on the disk.
Otherwise, the volume label stays the same.
Example
Suppose you have a disk in drive A that contains sales
information for 1986. To label this disk you might enter
the following:
label a:sales1986
Notes
You can use the MS-DOS dir command to determine if the disk
already has a volume label.
label is an external command.
LABEL(DOS) (printed 8/16/89) LABEL(DOS)