Draft for Information Only
ContentMS DOS Command: LABEL.EXE
MS DOS Command: LABEL.EXEReference from Microsoft MS-DOS cmd help DescriptionCreates, 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. SyntaxLABEL [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
Related CommandsFor 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. RemarksLABEL command messagesIf 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 namesA 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 driveLABEL does not work on a drive created with the SUBST command. ExamplesTo label a disk in drive A that contains sales information for 1991, you might type the following: label a:sales1991 ©sideway ID: 110700209 Last Updated: 7/28/2011 Revision: 0 Latest Updated Links
![]() ![]() ![]() ![]() ![]() |
![]() Home 5 Business Management HBR 3 Information Recreation Hobbies 8 Culture Chinese 1097 English 339 Travel 18 Reference 79 Computer Hardware 254 Software Application 213 Digitization 37 Latex 52 Manim 205 KB 1 Numeric 19 Programming Web 289 Unicode 504 HTML 66 CSS 65 SVG 46 ASP.NET 270 OS 431 DeskTop 7 Python 72 Knowledge Mathematics Formulas 8 Set 1 Logic 1 Algebra 84 Number Theory 206 Trigonometry 31 Geometry 34 Calculus 67 Engineering Tables 8 Mechanical Rigid Bodies Statics 92 Dynamics 37 Fluid 5 Control Acoustics 19 Natural Sciences Matter 1 Electric 27 Biology 1 |
Copyright © 2000-2025 Sideway . All rights reserved Disclaimers last modified on 06 September 2019