Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Batch file to close application 1

Status
Not open for further replies.

ckugo

IS-IT--Management
Jan 6, 2004
165
0
0
US
Hey guys, I am trying to close a running application with a batch file and I am not having any luck. I can get the program open and make the changes I need, but then I need to program to restart. Does anyone have any idea???

Thanks so much,

Chris
 
If it is running as a service, try the "net stop" command.
 
It is not running as a service. Just an open program.

Thanks,

Chris
 
How about:

TASKKILL /F /IM yourapplication.exe
 
That's Great.. Thanks so much for your help.

Thanks again,

Chris
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top