Talk:KillProc plug-in: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
A simple alternative to killproc on windows would be...
There's a simple alternative to the KillProc plugin on windows. The following example would terminate all processes with the name "ExeToKill.exe"...


=== Example ===
=== Example ===
ExecWait "taskkill /f /im ExeToKill.exe"
ExecWait "taskkill /f /im ExeToKill.exe"
which would kill all processes with the name "ExeToKill.exe"

Revision as of 15:56, 10 March 2009

There's a simple alternative to the KillProc plugin on windows. The following example would terminate all processes with the name "ExeToKill.exe"...

Example

ExecWait "taskkill /f /im ExeToKill.exe"