Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Computing > Alt Msdos Batch > Shutting down a...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 2669 of 2781
Post > Topic >>

Shutting down application using batch file

by Pradeep <pradeepk2@[EMAIL PROTECTED] > Apr 10, 2008 at 06:58 AM

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
 




 2 Posts in Topic:
Shutting down application using batch file
Pradeep <pradeepk2@[EM  2008-04-10 06:58:51 
Re: Shutting down application using batch file
foxidrive <gotcha@[EMA  2008-04-11 00:04:10 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Sep 7 2:46:17 CDT 2008.