1.

Solve : Kill !??

Answer»

I was wondering if it would be POSSIBLE to make something for killing a running process, if so, what ?Are you TRYING to find out how to kill a running process? You do that by going into task manager by right clicking your taskbar then clicking task manager then to processes or applications then hit end task or process.Which operating system?

You can use taskkill.exe in XP. With lower versions you'll have to DOWNLOAD kill.exe from the 2k server resource kit (might be NT resource kit, i can't remeber).A yeah sorry i want to do it from a batch :# OS: XP Pro SP1so try something like this then:

Code: [Select]@echo off
taskkill /im xxx.exe

Where xxx is the name of th exe you want to kill (the switch "/im" specifies an IMAGE name). Type taskkill /? at the command prompt for further usage information.Quote from: Pr0FiT on April 14, 2007, 09:01:09 AM

so try something like this then:

Code: [Select]@echo off
taskkill /im xxx.exe

Where xxx is the name of th exe you want to kill (the switch "/im" specifies an image name). Type taskkill /? at the command prompt for further usage information.


Thanks Pr0FiT, yea i did that on taskkill, it didnt feel like working, i'll try this 1 outAdd /f to the end to force it to close.
So: Code: [Select]@echo off
taskkill /im xxx.exe /f


Discussion

No Comment Found