in reply to End a process in the Task manager
(1) You can use the "taskkill" command line utility on Win XP or download a similar one from the net. Then, perl can call it using "system".
(2) You can use the Win32::API bindings of Perl to call the Win32 API function to enumerate all tasks / windows and send WM_CLOSE messages to them.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: End a process in the Task manager
by Nalina (Monk) on Jun 03, 2005 at 10:19 UTC | |
by spurperl (Priest) on Jun 03, 2005 at 10:21 UTC | |
by Nalina (Monk) on Jun 03, 2005 at 11:12 UTC | |
by spurperl (Priest) on Jun 03, 2005 at 11:16 UTC | |
|
Re^2: End a process in the Task manager
by Nalina (Monk) on Jun 03, 2005 at 08:48 UTC | |
by spurperl (Priest) on Jun 03, 2005 at 08:52 UTC |