I have to make a short Windows shell script. Please don’t run away. It couldn’t be simpler, but I just can’t find the way to make this frankly primitive command-line to work with me.
I simply want to run dxdiag, and do something with the gathered data.
Thing is, I can’t get the script to wait for dxdiag to finish, since it spawns the process and keeps on going. I need the file to exist and have the information before moving on to the next line.
Using start /wait has no effect, I’m guessing because there’s no GUI involved.
I’m starting to think this isn’t possible. Please help!
I tried something like this
And it is working for me in Windows Vista.