in reply to Re^4: End a process in the Task manager
in thread End a process in the Task manager
Never actually did this, but any reason for it to be different from any other call ? Look up EnumWindows in MSDN (online, if you want) and see what arguments it expects, what it returns, etc. Then use the import capability Win32::API provides to call it.