Hey guys, gots a question for ya. How can I call something in a batch file, wait till it terminates, then execute another command? I've been trying to patch together bits and peices that I've found on the forums, but I think I screwed up something in the syntax, so I scrapped the whole thing. (For me, the 'help' in the command prompt was a little obscure...;)) I've been trying to make a batch that will call PortableOO.o, then delete the OO.o directory in %APPDATA% when it terminates, playing around with 'RD', 'DEL', '/WAIT' (?), and whatnot. Any suggestions?
You are here
batch Question
April 30, 2006 - 7:22pm
#1
batch Question
April 30, 2006 - 7:27pm
#2
start /wait
use the start command to do it:
start /wait program.exe
More info on start:
http://www.computerhope.com/starthlp.htm
April 30, 2006 - 10:48pm
#3
Awesome. Thanks alot. I'll
Awesome. Thanks alot. I'll try it when I get home.