netstat is a windows command, you can use it from the command line, so you just have to use back ticks and it will work without a cmd window or anything else
my $cmd = `netstat -a -e -n -o -s -r`; print $cmd;
You might want to use the full path for the netstat command.
In reply to Re: How do I communicate with a Windows process?
by ahmad
in thread How do I communicate with a Windows process?
by IOl01
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |