I am use this command for finding hard disk in formation "wmic diskdrive" but i insert a external device like hard disk or pan drive, this command is provide information of external hard disk or pan drive. so how can find internal hard disk information where system window installed.
It is off topic here , though you can get the info using following cmd
wmic logicaldisk
or ,
diskpart
then list volume
"find internal hard disk information where system window installed."
wmic logicaldisk where caption="%systemdrive%" get /value
Note: logicaldisk
is a partition on an physical drive (the only one, if you are lucky, but there may be more partitions on the same physical drive)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With