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 ]
In reply to Re: system() on Win32
by PodMaster
in thread system() on Win32
by manoser
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |