Me again. I have noticed that the no timeout proxy will execute commands in the batch file at any time, but I still am having a time-related problem in that if my first program doesn't terminate within so many seconds, the second program will run, but without the focus in it so that you have to click on it with the mouse to make it the active window that accepts keyboard input. Problem is my application is sort of a kiosk-type use that will not have any mouse. Again, this approach works fine when I just call the batch file, but I get the ugly DOS window.

Any idea why this is?

As a point of interest, I tried getting around this problem by putting into the batch file a call to another renamed proxy.exe (Test.exe) to launch the second appl., so:

Batchfile.exe and Test.exe are both no-timeout copies of proxy.exe and:

Batchfile.bat has:
Appl1.exe
Test.exe

and Test.bat has:
Appl2.exe

So then I run Batchfile.exe and what then happens is that Appl1.exe runs and after a few seconds Appl2.exe starts even though the first process Appl1 hasn't yet stopped. So, I am not sure why the second line (Test.exe) of the batch file is being executed because I am not using the start command.

Again, any help would be greatly appreciated.