Command: vol

  VOL displays the disk volume label and serial number, if they exist.

Syntax:

  VOL [drive]
  VOL [/?]
      drive  Specifies the drive letter to display the volume
             label, e.g. C: and the serial number

Options:

  /?  Shows the help.

Comments:

  Each drive letter can have an own volume label. You can create it
  with LABEL and FORMAT drive /V:LABEL. The name cannot be longer
  than 11 characters.
  The serial number is shown by DIR and LABEL independent
  if the drive has a label set.
  VOL is a command internal to command.com and needs no other file
  in order to work.

Examples:

  To obtain a partition:
  fdisk                (Follow instructions), Option 4 shows the volume
                       label (when there already exists one)
  format c: /V:DRV_C   (Formats drive C: and gives the label DRV_C)
  label c:             (Shows drive C: and its label DRV_C and asks if
                       you want to create a new label)
  vol c:               (Shows drive C: and its label DRV_C or a new one
                       created by format or label)

See also:

  command.com/freecom
  dir
  fdisk
  format
  label

  Copyright © 2004 Robert Platt, updated 2011 and 2022 by W. Spiegl.

  This file is derived from the FreeDOS Spec Command HOWTO.
  See the file H2Cpying for copying conditions.