perl -e "@trace=`tracert -w 200 -p 30 perlmonks.org`;foreach $i (@trace){print \"$i\n\";}" -p is not a valid command option. Usage: tracert [-d] [-h maximum_hops] [-j host-list] [-w timeout] target_name Options: -d Do not resolve addresses to hostnames. -h maximum_hops Maximum number of hops to search for target. -j host-list Loose source route along host-list. -w timeout Wait timeout milliseconds for each reply.