1363869124 当前离线
列兵
TOP
idwma 当前离线
少校
@echo off for /f "tokens=2 delims=,{};" %%i in ('wmic nicconfig get DefaultIPGateway^,index /format:csv^|findstr "{"') do set gw=%%i for /f "tokens=1,2,3 delims=." %%i in ("%gw%") do set ip=%%i.%%j.%%k ping %gw% ping %ip%.3 ping %ip%.9 pause复制代码