Hi,
I'm newbie for batch file.
I've wriiten a batch file to start an application if the license is
available.
Now if the license is not available then an error is generated which
is
killed by commnad
TASKKILL /FI "WINDOWTITLE eq License*"
and it again loops to the start using GOTO.
However is license is available the application keeps opening in the
loop.
How to stop this, i.e once the license is available batch file should
exist.
Here is the commands
@[EMAIL PROTECTED]
OFF
:BEGIN
ECHO.
ECHO Hi this the batch file
ECHO.
ECHO Trying for License
START /MIN APPLICATION_NAME
ping 1.1.1.1 -n 1 -w 15000 (delay required for license)
TASKKILL /FI "WINDOWTITLE eq License*"
GOTO BEGIN
regards
Pradeep