Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Serial batch execution
Name: simona Date: May 11, 2008 at 13:08:42 Pacific OS: Windows CPU/Ram: ??? Product: ???
Comment:
Dear folks I wrote a dos batch file, the first line call a c++ exe file (which generates a log file) and the next line will check if the log file did not created then echo a message on the screen
e.g: __________________ start a.exe if not exist a.log echo a.log did not created ___________________
it seems that before the a.exe completed the second line is already printed, how can i make sure that the second line will not started until the first complted as well ?
Summary: In general, a batch executes one line at a time. So it will "delay" while it's finding the file. If at first you don't succeed, you're about average. M2 ...
Summary: Nah, you don't get me. I wanna run multiple BATCH files from one particular file (another batch, executable or Perl script) I tried the call command, but that command will only open one batch. ...
Summary: 1) drives/paritions not known, batch will run on many differnt pc's..but! its more likely the folder being searched for will exist on the current drive so makes sense it should start from there ps ign...