bdehdcfg: driveinfo

适用于: Windows Server (半年通道) ,Windows Server 2019,Windows Server 2016,Windows Server 2012 R2,Windows Server 2012Applies to: Windows Server (Semi-Annual Channel), Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012

显示驱动器号、总大小、最大可用空间和分区特征。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.


此命令仅提供信息,不会对驱动器进行任何更改。This command is informational only and makes no changes to the drive.


bdehdcfg -driveinfo <drive_letter>


参数Parameter 说明Description
<drive_letter><drive_letter> 指定后跟冒号的驱动器号。Specifies a drive letter followed by a colon.


若要显示 C:驱动器的驱动器信息:To display the drive information for the C: drive:

bdehdcfg  driveinfo C:

其他参考Additional References