The Process Killer (v0.7)

Summary: Have a process that won’t die? Maybe this will help remedy the situation. It does not always works, but it’s worth a shot if the Windows Task Manager fails to deliver.

Requirements:

  • Windows XP Professional

Code:

@echo off
echo ---------------------------
echo  The Process Killer v0.7
echo ---------------------------
echo      By Blake Johnson
echo.
echo.

:home
echo Type 'v' to view open processes and their PIDs, or type a PID to continue.
echo.
set /p command=Command or PID:
if "%command%"=="v" goto viewpids
if not "%command%"=="v" goto kill

:viewpids
tasklist | more
echo - - - - - -
echo.
goto home

:kill
ntsd -p %command% -c "q"
pause

Leave a Reply

Your email address will not be published. Required fields are marked *