I want to make a batch file,which run 3 executable file respectively: A.exe B.exe C.exe
P.S: A.exe gotta finish its job then batch file go for B.exe and finally C.exe
|
I want to make a batch file,which run 3 executable file respectively: A.exe B.exe C.exe P.S: A.exe gotta finish its job then batch file go for B.exe and finally C.exe
| |||
|
feedback
|
|
A three line batch file would do. For example, a batch file called
the EDIT TO ADDRESS COMMENT: I'm afraid that works for me. You might also make sure you replace the executable with the exact path to your executable files - for example, if A.exe was located in I wonder if those three As the link I provided also says, you may also use the parameter As it stands, I think it is working exactly as intended. Exactly as you described the issue, anyway. SECOND EDIT: Given your batch file, I've done the small changes necessary for it to do what you want. I don't actually know what you want to echo with the very beginning, but it should display enough information.
Does this work as intended? FINAL EDIT: You can get around the environmental variable thing, if you'll ever need to run this batch file somewhere where you don't have permissions to modify them.
And that seems to get around the problem on my end. Ugly as anything, but batch files never did seem to be intrinsically beautiful... | |||||||||||||
feedback
|
/waitparameter if you wantmodeler.exeto run only aftervcvarsall.bathas finished, and you only wantvcvarsall.batto run only aftervsvars32.bathas finished. – JBirch Aug 16 '10 at 14:43