Close Windows Program from Batch File
Unlike kill.exe from the Windows Resource Kit and pskill.exe from SysInternals (now part of MS), this little tool, "close" will attempt to gracefully close a program. It's command line driven, so it's suitable for batches and scripts.
This makes it safer for data in many situations. It is more-or-less like clicking the "x" button to close a program, thus applications like Word or Excel will prompt to save changes.
Originally found the link here:
http://www.jsifaq.com/SF/Tips/Tip.aspx?id=0431
The developer's page is here:
http://wwwthep.physik.uni-mainz.de/~frink/nt.html
Tags: batch, .cmd, .bat, graceful, nice, close, safe, utility, winxp
>>
Leonard Chan's Homepage
>>
Scribble Web
>> Close Windows Program from Batch File