Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Enumerate hard disks, exclude partitions
#3
Need to put the commands  in a text  file then can run using runconsole2. Give me a couple minutes will post  qm code

make a text file put in this


list disk
sel disk 0
list part
list disk
sel disk 1
list part
exit

then for qm code use this
Code:
Copy      Help
_s.expandpath("$desktop$\diskpartinfo.txt")
RunConsole2 F"cmd.exe /C  diskpart /s ''{_s}''"


Messages In This Thread
Enumerate hard disks, exclude partitions - by win - 09-08-2018, 09:34 PM
RE: Enumerate hard disks, exclude partitions - by Kevin - 09-09-2018, 02:41 AM

Forum Jump:


Users browsing this thread: 10 Guest(s)