I am trying to run a .bat that will open the diskpart utility and list the disks on the system.
My .bat contains the following
start diskpart /s f:\list.txt
list.txt contains the following
my problem is that the diskpart utility opens reads the command from the .txt file runs the command but then the diskpart wimdow quickly flashes the disks on the system and immediatly closes. I would like it to stay opn. Whan am I missing here?