for /l %%i in (1,1,254) do ping -n 1 -w 30 192.168.9.%%i >>d:\pinglog.txt
帮我们ping所有的IP 地址
直接复制到bat(cmd)文件中
运行