Sideway
output.to from Sideway
Draft for Information Only

Content

MS DOS Command: LABEL.EXE
 Description
 Syntax
 Parameters
 Related Commands
 Remarks
  LABEL command messages
  Limitations on volume label names
  Using LABEL with a redirected drive
 Examples

MS DOS Command: LABEL.EXE

Reference from Microsoft MS-DOS cmd help

Description

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.

Remarks

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.

Examples

To 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 LinksValid XHTML 1.0 Transitional Valid CSS!Nu Html Checker Firefox53 Chromena IExplorerna
IMAGE

Home 5

Business

Management

HBR 3

Information

Recreation

Hobbies 8

Culture

Chinese 1097

English 339

Reference 79

Computer

Hardware 249

Software

Application 213

Digitization 32

Latex 52

Manim 205

KB 1

Numeric 19

Programming

Web 289

Unicode 504

HTML 66

CSS 65

SVG 46

ASP.NET 270

OS 429

DeskTop 7

Python 72

Knowledge

Mathematics

Formulas 8

Algebra 84

Number Theory 206

Trigonometry 31

Geometry 34

Coordinate Geometry 2

Calculus 67

Complex Analysis 21

Engineering

Tables 8

Mechanical

Mechanics 1

Rigid Bodies

Statics 92

Dynamics 37

Fluid 5

Fluid Kinematics 5

Control

Process Control 1

Acoustics 19

FiniteElement 2

Natural Sciences

Matter 1

Electric 27

Biology 1

Geography 1


Copyright © 2000-2024 Sideway . All rights reserved Disclaimers last modified on 06 September 2019