In Linux, there is a useful fdisk command.
Is there an analogue for this in Windows? Specifically, I need to use (something like) fdisk -l.
command linelinuxwindows
In Linux, there is a useful fdisk command.
Is there an analogue for this in Windows? Specifically, I need to use (something like) fdisk -l.
Best Answer
There is
diskpart
[start] [run]
diskpart
list disk
Also, there is
wmic diskdrive
. You can use that from the command line, but you probably want to apply some filters to avoid ending up with way too much information.