Page 1 of 1

BAT file help

PostPosted: Feb 22, 2002 @ 4:29pm
by Dan East
I know - this isn't a Pocket PC question. I don't like posting real topics to Anything Discussion though. :)

I have a BAT file that simply executes a few programs in turn. The problem is that it is launching all the programs at once without waiting for the previous program to terminate. Each step generates a file that the next command relies on. I have tried checking return codes, but the BAT still runs them all at once. Any suggestions?

Dan East

PostPosted: Feb 22, 2002 @ 4:39pm
by Kzinti

PostPosted: Feb 22, 2002 @ 4:56pm
by simonjacobs

PostPosted: Feb 22, 2002 @ 5:00pm
by Kzinti

PostPosted: Feb 22, 2002 @ 5:13pm
by Pam

PostPosted: Feb 22, 2002 @ 5:47pm
by RICoder
start /wait [app]

but someone beat me to it... :-D

PostPosted: Apr 1, 2002 @ 7:21pm
by Grim
Use

Call c:\xxx

Call waits for the program to terminate before going on to the next line in the batch.