
Download BKillProc.exe (72 KB)
BKillProc is a small command line utility that allows the user to kill (terminate) any running process by name.
BKillProc for Windows should work on the following platforms:
Microsoft Windows 95/98/ME/NT/2000/XP
There is no install necessary. Simply download to any folder on your hard drive, and use as follows:
The source code for BKillProc is not available. However, it uses the function
KILL_PROC_BY_NAME for which the source is available.
To download, click on the link below and select "Save" to save to your hard drive
Please send bug reports, comments or questions to
kochhar@physiology.wisc.edu
Return to Ravi's Free Software Page
> <folder-where-copied>BKillProc <proccess-to-be-terminated>
For example, if you copied to the folder c:\temp, and want to terminate Notepad:
> c:\temp\BKillProc notepad.exe
or
> cd c:\temp
> BKillProc notepad.exe
BKillProc will fail if you don't have permission to terminate that process.
BKillProc can also be called from within a script or .bat file.
It returns a code of 0 to indicate success, non-zero to indicate a problem.
A list of possible codes is as follows:
0 = Process was successfully terminated
201 = Process name not specified on command line
603 = Process was not currently running
604 = No permission to terminate process
605 = Unable to load PSAPI.DLL
602 = Unable to terminate process for some other reason
606 = Unable to identify system type
607 = Unsupported OS
632 = Invalid process name
700 = Unable to get procedure address from PSAPI.DLL
701 = Unable to get process list, EnumProcesses failed
702 = Unable to load KERNEL32.DLL
703 = Unable to get procedure address from KERNEL32.DLL
704 = CreateToolhelp32Snapshot failed
BKillProc.exe BKillProc v1.000 for Windows (72 KB)
Disclaimer: Terminating a process may have unpredicatable results
including loss of important data or damage to your system
DO NOT TERMINATE A PROCESS THAT YOU ARE NOT SURE ABOUT
This program is provided as-is and no warranty is implied for its suitability
for any specific purpose. Use at your own risk!
Back to Computing Page
Back to The Basement
This page last modified on : 3/16/2003