Calling dir in cmd prints out: “Volume in drive C has no label.”

Just like it says: Your C: drive doesn’t have a label, or name. You can assign one with the label command:

Creates, changes, or deletes the volume label of a disk.

LABEL [drive:][label]
LABEL [/MP] [volume] [label]

  drive:          Specifies the drive letter of a drive.
  label           Specifies the label of the volume.
  /MP             Specifies that the volume should be treated as a
                  mount point or volume name.
  volume          Specifies the drive letter (followed by a colon),
                  mount point, or volume name.  If volume name is specified,
                  the /MP flag is unnecessary.

or in the Properties panel of the drive:

Back in the old days, we used to give floppy disks a name. Hard drives can have one as well, but most of the time no one cares. Explorer shows such drives as “Local Disk (C:)”, and dir has the somewhat scarier message.

Leave a Comment