Subj : Re: Kill an exe file programmatically To : borland.public.cpp.borlandcpp From : Jogy Date : Thu Sep 08 2005 11:46 am Micron Engineering wrote: > I need to write an application that may kill exe files already running. > These exe files may be applications like MS Word ora ny other > application that you may see on task manager. Is there a way to do this > by code? > Best regards, Massimo Manca, Micron Engineering Hello, You need something like this? http://www.sysinternals.com/Utilities/PsKill.html You can use the WinApi function TerminateProcess: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/terminateprocess.asp Also look this article and the related links: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/terminating_a_process.asp Jogy .