Label

Index

The LABEL command is used to create, change, or delete the volume label (name) of a disk. The volume label of a disk is displayed as part of the directory listing along with the volume serial number, it it exists.

Syntax:

LABEL [drive:][label]

drive:The location of the disk to be named.
labelThe new volume label.
noneDisplays current disk label, if they exist. Prompts to enter a new label or delete the existing one.

Notes:

  1. If label is not specified, the following prompt is displayed:

    C:\WINDOWS>Label
    Volume in drive A is xxxxxxxxxxx   
    Volume Serial Number is xxxx-xxxx   
    Volume label (11 characters, ENTER for none)?

  2. A volume label can contain up to 11 characters and can include spaces but not:
    * ? / \ | . , ; : + = [ ] ( ) & ^ < > "

  3. Volume labels are displayed in uppercase letters only.

  4. LABEL does not work with a virtual drive created with the SUBST command.

File Details

File NameDefault LocationDos Ver.Win Ver.SizeDateSource
Label.exec:\windows\command 7.0Win95 9 26011/07/95win95_08.cab
7.1Win95 (OSR2.x) 9 324124/08/96win95_14.cab
Win98 9 324111/05/98win98_41.cab
Win98 SE 9 324123/04/99win98_45.cab

Superscripts denote which same size files, if any, are identical (using FC).


If you should have any comments or suggestions,
please contact: Bob Watson
.
This page last revised:
August 28, 2000.