Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Enumerate hard disks, exclude partitions
#30
echo list disk
echo sel disk 0
echo list part
echo list disk
echo sel disk 1
echo list part


The number of hard disks above is directly determined.

The actual situation may be multiple hard drives

They should be selected according to the list disk and show the partitions they contain.

This needs to break up the command line and write the QM code separately?

I personally feel that sometimes there are some small requirements, if I want to achieve automation, I need too much programming level.


Messages In This Thread
Enumerate hard disks, exclude partitions - by win - 09-08-2018, 09:34 PM
RE: Enumerate hard disks, exclude partitions - by win - 09-09-2018, 10:32 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)