oem.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
LABEL
Notes  Example
────────────────────────────────────────────────────────────────────────────
 
                                   LABEL
 
Creates, changes, or deletes the volume label (name) of a disk.
 
MS-DOS displays the volume label as part of the directory listing. If a
volume serial number exists, MS-DOS displays this number as well.
 
Syntax
 
    LABEL [drive:][label]
 
To specify that MS-DOS is to display the current volume label and serial
number, if they exist, and that MS-DOS is to prompt you to enter a label or
delete the existing one, use the following syntax:
 
    LABEL
 
Parameters
 
drive:
    Specifies the location of the disk you want to name.
 
label
    Specifies the new volume label. You must include a colon (:) between
    drive and label.
 
Related Commands
 
For information about displaying the current disk label, see the <DIR> or
<VOL> command.
 
For information about the volume serial number of a disk, see the <VOL>
command.
 
                                      ♦