Link to home
Start Free TrialLog in
Avatar of s2ready
s2ready

asked on

Batch Files / Windows Scripting

Hi everyone,

I'm trying to write a batch file / windows scripting file to close some programs that are running on a Win2k Server. Basically I want to be able to close that software in order in case of a major server crashed or in case the software needs to be rebooted (probably using delays, or different batchs). The problem is that I haven't been able to find a way to close the software (without sending ALT+F4 keys with WSH)...

Is there any way to do it?

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of tduplantis
tduplantis

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mav7469
mav7469

If it where a service, you could use a Net stop command.  Just Net Stop (Service).  If not, that the Kill command.

Mav
s2ready:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Accept: tduplantis {http:#8601188}

Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Julian Crawford
EE Cleanup Volunteer