Index | Example | Syntax  



LABEL--Notes

LABEL command messages If you do not specify a label when you use the LABEL command, MS-DOS displays a message in the following format: Volume in drive A is xxxxxxxxxxx Volume Serial Number is xxxx-xxxx Volume label (11 characters, ENTER for none)? The "Volume Serial Number" part of the message is not displayed if the disk  has no serial number. You can type the volume label you want or press ENTER to delete the current label. If a disk has a label and you press ENTER for none, MS-DOS prompts you with the following message: Delete current volume label (Y/N)? Press Y to delete the label; press N to keep the label. Limitations on volume label names A volume label can contain as many as 11 characters and can include spaces but no tabs. Consecutive spaces may be interpreted as a single space. Do not use any of the following characters in a volume label: * ? / \ | . , ; : + = [ ] ( ) & ^ < > " MS-DOS displays volume labels in uppercase letters. If you enter a volume label in lower-case letters, the LABEL command converts the letters to uppercase. Using LABEL with a redirected drive LABEL does not work on a drive created with the SUBST command.
-Top- | Example | Syntax