Get the new PortableApps.com Platform 10.0: Gorgeous themes, a full portable app store and advanced functionality
Announcing the World's Best Flash Drive: The PortableApps.com Companion

batch Question

Ashes for Tears - April 30, 2006 - 7:22pm

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...Eye-wink) 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?


( categories: )

start /wait

use the start command to do it:

start /wait program.exe

More info on start:
http://www.computerhope.com/starthlp.htm

Sometimes, the impossible can become possible, if you're awesome!

Awesome. Thanks alot. I'll

Awesome. Thanks alot. Smiling I'll try it when I get home.