Dela via


Vol

 

Applies To: Windows Server 2003, Windows Vista, Windows XP, Windows Server 2008, Windows 7, Windows Server 2003 R2, Windows Server 2008 R2, Windows Server 2000, Windows Server 2012, Windows 8

Displays the disk volume label and serial number, if they exist. If used without parameters, vol displays information for the current drive.

Syntax

vol [<Drive>:]

Parameters

Parameter

Description

<Drive>:

Specifies the drive that contains the disk for which you want to display the volume label and serial number.

/?

Displays help at the command prompt.

Additional references

Command-Line Syntax Key