| vol | |
|---|---|
TheWindows XP vol command | |
| Developers | DR,Microsoft,IBM,Toshiba, ReactOS Contributors |
| Initial release | March 1983; 42 years ago (1983-03) |
| Operating system | MS-DOS,PC DOS,MSX-DOS,FlexOS,SISNE plus,OS/2,eComStation,ArcaOS,DR DOS,ROM-DOS,4690 OS,PTS-DOS,Windows,FreeDOS,ReactOS |
| Platform | Cross-platform |
| Type | Command |
In someoperating systems,vol is acommand within thecommand-line interpreters (shells) such asCOMMAND.COM andcmd.exe. It is used to display thevolume label andvolume serial number of alogical drive, such as ahard disk partition or afloppy disk, if they exist.[1]

vol commandThe command is available in various versions ofDOS,[2]DRFlexOS,[3]IBM/Toshiba4690 OS,[4] IBMOS/2,[5]MicrosoftWindows,[6] andReactOS.[7]
OnMS-DOS, the command is available in versions 2 and later.[8]Paragon Technology SystemsPTS-DOS 2000 Pro also includes avol implementation.[9]
The Windowsdir command also displays the volume label and serial number (if it has one) as part of the directory listing.
The command is also available in theEFI shell.[10]
vol [Drive:]
Arguments:
Drive: Thiscommand-line argument specifies the drive letter of the disk for which to display the volume label and serial number.Note:
vol command displays the volume labels consecutively.[C:\]vol C:The volume label in drive C is OS/2.The Volume Serial Number is 0815:1611.
C:\Users\root>vol C:Volume in drive C is WindowsVolume Serial Number is 080F-100B
In the example above, if drive C: has no volume label, "has no label" is shown instead of "is Windows".