测试用户网络情况的脚本
@echo off
echo Waiting for a moment please...
echo test start at %date:~0,10% %time:~0,-3% >> net.log
echo --------------------Start Ping----------------------- >> net.log
ping -n 10 www.xx.com >> net.log
ping -n 10 10.31.123.11 >> net.log
echo --------------------End Ping------------------------- >> net.log
echo ------------------------------------------------------------------------------------------ >> net.log
echo --------------------Start Tracert----------------------- >> net.log
tracert -d www.xx.com >> net.log
tracert -d 10.31.123.11 >> net.log
echo --------------------End Tracert------------------------- >> net.log