How do I terminate a running process in system tray.
I want to stop a certain process.
Your attitude is a little thing but it makes a big difference
Press Ctrl+alt+del, click Task Manager, Goto Processes tab, select the process you want to terminate, right click and select End process... thats it....
I am looking for a code.The solution which you have tried to give cannot be implemented in code....rite?
In Win2000 there is an app called Kill.exe, in WinXP its called Taskkill.exe.
In either case if you execute it, it will kill the specified App as follows:
Kill -f <AppName>
TaskKill -f <AppName>
The '-f' argument will force the app to close.
I am using
Kill "C:\Program Files\SurfHelper\SurfHelp.exe"
but it is throwing me an error argument not optional.
How do i use - f argument?
Sorry - just try this:
Kill -f SurfHelp.exe
Still it is showing me the same error,
I am not able to find Kill.exe file in windows 2000.
I thought that it would be common to all machines!
I've just checked on the Microsoft site & it comes with the Windows NT Resource kit, so if you can get hold of that it would help.
I did that....
but I am not getting how do i implement it in code?
Just Shell it:
Shell "Kill -f SurfHelp.exe"
If Kill.exe is not in your environment Path setting you may have to include the path to the Kill.exe.
Shell "C:\Winnt\System32\Kill -f SurfHelp.exe"