CmdID

CmdID / Commands / bdehdcfg

bdehdcfg driveinfo

Displays the drive letter, the total size, the maximum free space, and the partition characteristics. Windows commands reference

On Windows

Opens CmdID with your command. It is read in your browser and sent nowhere.

Windows

from the Windows commands reference, CC BY 4.0

Displays the drive letter, the total size, the maximum free space, and the partition characteristics. Only valid partitions are listed. Unallocated space is not listed if four primary or extended partitions already exist. NOTE: This command is informational only and makes no changes to the drive.

bdehdcfg -driveinfo <drive_letter>

To display the drive information for the C: drive

bdehdcfg -driveinfo C:Identify
<drive_letter>Specifies a drive letter followed by a colon.