VOL (Volume)

Type: Internal (2.0 and later)

Syntax:

VOL [d:]

Purpose: Displays a disk`s volume label.

Discussion

The VOL command is used to display the volume label. It is not used to add or change the volume label on a disk. For information on how to create, change, or delete the volume label, refer to the LABEL command.

Example

To display the volume label for the disk in drive A, enter

vol a:

the program displays:

Volume in drive A is (label)

If the designated disk does not have a volume label, the program displays:

Volume in drive A has no label



Return to Mission Control home page         Return to DOS Command index page