can I list/kill processes with JScript (started with cscript)?

Tech-Archive recommends: Speed Up your PC by fixing your registry



I'm writing a script in JScript that installs/deploys applications.

As we normally can't update programs until they shut down, I thought that it would be great if the script was able to:

- list processes (and wait until our process is gone),
- kill processes (if we don't want to wait, but kill the app immediately)

Is it possible to list processes running, and kill them, using JScript?


--
Tomasz Chmielewski
http://wpkg.org
.



Relevant Pages

  • can I list/kill processes?
    ... I'm writing a script in that installs/deploys applications. ... kill processes ... Is it possible to list processes running, ...
    (microsoft.public.scripting.vbscript)
  • Re: can I list/kill processes with JScript (started with cscript)?
    ... that it would be great if the script was able to: ... kill processes (if we don't want to wait, ... Is it possible to list processes running, and kill them, using ... Unsolicited commercial email will be read at a cost of $500 per message. ...
    (microsoft.public.scripting.jscript)
  • Re: can I list/kill processes with JScript (started with cscript)?
    ... kill processes ... Is it possible to list processes running, and kill them, using JScript? ... JScript and this is reflected in the type of questions asked VBScript group. ...
    (microsoft.public.scripting.jscript)