1.

Solve : batch launch + wait + time out?

Answer»

Hi,

I want to do the following in batch language:

1. Launch an executable
2. Wait till the executable terminates!!!
3. If (the executable doesn't terminate within a CERTAIN time)
then
break it and exit
else
exit
END if

Does anybody know how to solve ESPECIALLY point 3?

I don't know how to comine the time out for the executable with the COMMAND to wait till it terminates, because if it never terminates it never reaches the time out command either!
http://www.fpschultze.de/b20.htm



Discussion

No Comment Found