code_junkie

Process Kill in Jscript

Nov 11th, 2011
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. function OnFileClose()
  2. {
  3. w = new ActiveXObject("WScript.Shell");
  4. w.run("taskkill.exe /im iexpore.exe");
  5. return true;
  6. }
Add Comment
Please, Sign In to add comment