label


label

Modifies a volume label for a disk.

Syntax

 label [   Drive   :][   Label   ] label [/MP][   Volume   ][   Label   ] 

Options

None

Modifies or deletes the current volume label.

Drive:

Drive letter.

Label

Label for volume or disk.

/MP

Treat the volume as a mount point.

Volume

Drive letter, mount point, or volume name .

Examples

Assign the label TESTVOL to E: drive:

  label e: TESTVOL  

Switch to E: drive:

  e:  E:\> 

Change the label to BADVOL :

  label  Volume in drive E: is TESTVOL Volume Serial Number is 6EA7-D467 Volume label (32 characters, ENTER for none)?  BADVOL  E:\> 

See Also

chkdsk , chkntfs , convert , defrag , diskpart , Disks , format , mountvol



Windows Server 2003 in a Nutshell
Windows Server 2003 in a Nutshell
ISBN: 0596004044
EAN: 2147483647
Year: 2003
Pages: 415
Authors: Mitch Tulloch

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net