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.
Syntax
bdehdcfg -driveinfo <drive_letter>
Parameters
| Parameter | Description |
|---|---|
| <drive_letter> | Specifies a drive letter followed by a colon. |
Example
To display the drive information for the C: drive:
bdehdcfg -driveinfo C:
Related links
Source: Microsoft Learn / Windows Server documentation by Microsoft and contributors (upstream author metadata: robinharwood). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
