wmic DiskDrive get Size /value
::查看C盘
wmic LogicalDisk where "Caption='C:'" get FreeSpace,Size /value
::查看D盘
wmic LogicalDisk where "Caption='D:'" get FreeSpace,Size /value
wmic DiskDrive get Size /value
::查看C盘
wmic LogicalDisk where "Caption='C:'" get FreeSpace,Size /value
::查看D盘
wmic LogicalDisk where "Caption='D:'" get FreeSpace,Size /value
本文标题:cmd--查看硬盘容量
本文链接:https://www.haomeiwen.com/subject/uhhluktx.html
网友评论