ip_dns.bat

批量测试DNS解析

FOR /F "tokens=1,2 delims=\=" %%I IN (ServerBindings.txt) DO (
ping %%I -n 1 -w 1 | find "正在 Ping %%I " >> Ajiexi.txt
ping %%I -n 1 -w 1 | find "正在 Ping cusshop.ebdoor.com " && echo %%I >> biemingyum.txt
ping %%I -n 1 -w 1 | find "正在 Ping cusshop.ebdoor.com " >> biemingjiexi.txt
)

猜你喜欢

转载自www.cnblogs.com/sfqas/p/12180951.html