Home > Commands N-Z > Commands V

VOL


Description | Syntax | Parameters | Switches | Related | Notes | Examples | Errorlevels | Availability

Displays the disk volume label and serial number, if the disk has them.


Syntax

VOL /?

Display the volume label of the disk in the current drive:

VOL

VOL [drive:]


Parameters
drive: (v2.0 Win95 NT3.5)
Specifies the drive that contains the disk for which you want to display the volume label and serial number (serial numbers for disks formatted starting with v4.0

Switches
/? (NTXP)
Displays help.

Related

For information about the /V[:label] switch, see the FORMAT command.
For information about assigning a volume label, see the LABEL command.
Equivalent Linux BASH commands:
hostname - Print or set system name.
uname - Print system information.


Notes

none.


Examples

none.


Errorlevels

none.


Availability
Internal
DOS
v2.0 v2.01 v2.05 v2.10 v2.11 v2.11R v2.12 v2.2 v2.25 v3.0 v3.20 v3.05 v3.1 v3.21 v3.25 v3.30 v3.3A v3.3R v3.3T v3.31 v3.40 v4.0 v4.01 v4.01A v5.0 v5.0A v5.00.02 v5.001A v5.01 v5.02 v6.0 v6.10 v6.2 v6.21 v6.22 v6.23 v7.00 v7.0R1 v7.10 v8.00
Windows
Win95 Win98 WinME
Windows NT
NT3.5 NT4 NT2000 NTXP NT2003