Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Enumerate hard disks, exclude partitions
#2
I use a batch file to get information about the hard disk and partition, but I don't know how to get this information into QM,I hope someone can help me, thanks

info.bat
Code:
Copy      Help
@echo off

(echo list disk
echo sel disk 0
echo list part
echo list disk
echo sel disk 1
echo list part)>a.txt
diskpart /s a.txt

pause

My idea: get the information in the command line, output it to QM, and then retrieve the fields of the hard disk and the fields of the partition.   Exclamation


Attached Files Image(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 win - 09-09-2018, 12:41 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)