in reply to system() on Win32
If you want to spawn cmd.exe, you should specify the absolute path to cmd.exe.C:\>perl -e"system qw[ net stat ]" The syntax of this command is: NET [ ACCOUNTS | COMPUTER | CONFIG | CONTINUE | FILE | GROUP | HELP | HELPMSG | LOCALGROUP | NAME | PAUSE | PRINT | SEND | SESSION | SHARE | START | STATISTICS | STOP | TIME | USE | USER | VIEW ]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: system() on Win32
by holli (Abbot) on Mar 04, 2005 at 10:00 UTC | |
|
Re^2: system() on Win32
by manoser (Initiate) on Mar 04, 2005 at 09:38 UTC |