Page 1 of 1

Run a series of EXE projects unattended

Posted: Tue Jan 15, 2013 1:26 pm
by itchy20
Hi,

We have (over time) produced many EXE projects each with a specific task for configuring and testing a specific part of our AUT. Each of these EXE project uses one or more .CSV for its input data. Assuming that we have all the input data correctly placed how can we run the EXE projects in sequence without user intervention.

We could use a batch file, but how do we make it run the series in order and how does it know when the first EXE is completed (Successfully) and it can start the second, third, fourth etc.

thanks
Richard

Re: Run a series of EXE projects unattended

Posted: Tue Jan 15, 2013 4:50 pm
by Support Team
Hello Richard,

You can use a batch file like the following with an if condition to make the trick.
@echo off 
call Test1.exe
if %ERRORLEVEL% == 0 call Test2.exe
Regards,
Bernhard