Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 713 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 713 Bytes

killproc

Windows command line process killer written in Microsoft Macro Assembler (MASM)

Prerequisites

Notes

  • Current MASM version apparently have a bug in ASCII versions of kernel32.lib entries such as Process32First or Process32Next. Therefore, make sure that you use kernel32.lib from libraries that belong to Visual C++ not MASM.

Assembly

$ ml /c /coff /Cp killproc.asm

Linkage

$ link /SUBSYSTEM:CONSOLE /LIBPATH:c:\masm32\lib killproc.obj

Usage

$ killproc [ProcessName].exe

Example

$ killproc notepad.exe