I\'m writing a script that runs an external program, and after a while terminates it, the relevant code section looks like this:
Set objshell=createObject(\"
Use WScript.Shell's .Exec method to get a WshScriptExec objects for each session/run/instance of app.exe and .Terminate them at your leisure (and risk). See Terminate Method (WshScriptExec)