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)...
If it where a service, you could use a Net stop command. Just Net Stop (Service). If not, that the Kill command.
Mav
CleanupPing
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.
juliancrawford
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:
Mav