Professional Windows Server 1002003 Security A Technical Reference [Electronic resources]

Roberta Bragg

نسخه متنی -صفحه : 415/ 315
نمايش فراداده

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