Version 3 of kill

Updated 2001-10-14 00:09:54

TclX provides a kill command only for Unix(-like) systems.


"kill" is rather foreign to Windows programming.

(LV I don't understand why this would be so - how is kill different than the control-alt-del End Task?)

From a programming standpoint, one generally sends a {WM_CLOSE,WM_QUIT,...} to a Win32 application (Tcl programmers can "send" such messages with winutil::sendmessage).

Windows workers also should be aware of

  • the sample /samples/sdktools/winnt/tlist/kill.c included with the Win32 SDK (still there in recent versions?)
  • the "WinTop" or "Windows Process Watcher" (it's had different names at different times) utility Microsoft makes available as part of its "Kernel Toys" [L1 ]

 [SO] Oct 13, 2001

 Well, everyone, there IS a Santa Claus.

 For windows98 (at least), tlist.exe and kill.exe are (somehow)  available from MS:
 (tlist gets you all the pids running)
   ftp://ftp.microsoft.com/services/technet/samples/ps/win98/reskit/diagnose/

 tlist and kill from the NT Resource kit *will not work* on win 98.
 (Yes, I *TRIED* them both, you never know for sure...)

 I hope that others may find this both helpful and useful.

 I *think* that the win95 resource kit is still downloadable
 somewhere on the MS site.