Page 1 of 1
script to terminate process in task manager
Posted: 14 Oct 2009 17:55
by swan_x
i need a script to terminate end process in task manager….
ex. end explorer.exe
Re: script to terminate process in task manager
Posted: 14 Oct 2009 18:15
by serendipity
swan_x wrote:i need a script to terminate end process in task manager….
ex. end explorer.exe
Code: Select all
//Kill Explorer
run "cmd /k taskkill /IM explorer.exe";
I did not try the above, but tried to kill IE (iexplore.exe) and it worked:
You can add /F to force kill explorer.exe
I don't know your OS but this might not work in XP home. See this link for similar command in XP home:
http://commandwindows.com/taskkill.htm
Re: script to terminate process in task manager
Posted: 14 Oct 2009 18:25
by swan_x
no...no....
your script (lanch cmd) power off my pc!!
i want only terminate explorer.exe...
and Taskkill is not recognized by XY...
Re: script to terminate process in task manager
Posted: 14 Oct 2009 18:57
by serendipity
swan_x wrote:no...no....
your script (lanch cmd) power off my pc!!
i want only terminate explorer.exe...
and Taskkill is not recognized by XY...
Oh! all i know that killing explorer.exe does not power off PC. Strange.
OK, i had a spare XP professional PC here and using this killed explorer:
And yes XYplorer does not support taskkill/tskill but command-line does support and you can run command-line commands from inside XYplorer.
The above script first opens command-line, as if you clicked start>Run>cmd and then executes the rest of the command.
Re: script to terminate process in task manager
Posted: 14 Oct 2009 19:18
by zer0
Re: script to terminate process in task manager
Posted: 15 Oct 2009 10:15
by swan_x
@ zer0
ok! sorry! i want delete this post....how to???
Re: script to terminate process in task manager
Posted: 15 Oct 2009 11:29
by Stefan
swan_x wrote:@ zer0
ok! sorry! i want delete this post....how to???
Too late!

Just keep it in mind for next time
