stop an application using a batch file

P

Paul

Need to find out if there is a way to stop and restart
application using a batch file in windows 2000 pro. This
is not a service but trying to stop a small application to
install some .dll files and restart the app all with out
any user intervention. Any help would be appreciated.
Thank You
 
J

Jerold Schulman

Need to find out if there is a way to stop and restart
application using a batch file in windows 2000 pro. This
is not a service but trying to stop a small application to
install some .dll files and restart the app all with out
any user intervention. Any help would be appreciated.
Thank You


You can use Close.exe, tip 431 in the 'Tips & Tricks' at http://www.jsiinc.com
to stop it.
You can use Runas and Sanur to restart it in the user context required, tip
7111.


Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top