If I run this command:
wmic path win32_logicaldisk where drivetype=3 get caption,size,freespace
I get the following output:
Caption FreeSpace Size
C: 118386499584 183399067648
D: 5383057408 66550706176
(That is, first freespace
and then size
.)
Is there any way to get the properties in the same order that I specify in the command (that is, first size
and then freespace
)?