Correction, control.exe waits about 13 seconds. When a .exe is run from a batch
file, even if it is a graphical program, the batch file does not advance to the
next instruction until the .exe ends. When control runs, it starts whatever it
was asked to run immediately, but then waits the 13 seconds before ending, and
it ends regardless of whether what it started has ended or not. If the window
is closed sooner than 13 seconds, the batch file appears to hang for the rest of
that time. So, to gate a batch file to control.exe windows and yet to allow the
batch file to continue as quick as the user, the following can be done.
However, it does require extra keypresses.
start control.exe applet1...
pause
start control.exe applet2...
pause
When in a batch file cmd.exe waits 13 seconds...