in reply to How to Flush SIGINT on Win32?
In your case, you would just use:
Here's the Windows magic:C:\> sigint
1) Control Panel --> System --> "Advanced" tab --> "Environment Variables" button.
2) In the "System variables" section, locate the "PATHEXT".
3) Press "Edit" button.
4) In the "Variable value:" text box that pops up, go to the end and add the text ";.PL" without the double quotes. (That's semicolon period capital P capital L.)
5) Press the "OK" button.
6) Press the "OK" button ("Environment Variables" window).
7) Press the "OK" button ("System Properties" window).
8) Close any open cmd.exe windows and open a new one.
Before:
AFTER:{C} > set | find "PATHEXT" PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH; {C} > dir /b \usr\bin\crapps.pl crapps.pl {C} > crapps 'crapps' is not recognized as an internal or external command, operabl +e program or batch file. {C} >
{C} > set | find "PATHEXT" PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.PL; {C} > dir /b \usr\bin\crapps.pl crapps.pl {C} > crapps C:\usr\bin\crapps.pl: host required Usage: crapps [options] [SNMP options] | [Telnet options] host ... crapps -P password [options] crapps -S svc [options] {C} >
|
|---|