doc批处理命令检测网络通讯情况
By admin
- One minute read - 27 words@set i=0
@:a
ping 192.168.0.59
@if %ERRORLEVEL%==0 goto 3
timeout /T 15
@goto a
@:3
write.exe
exit
@set i=0 @:aping 203.171.226.59@if %ERRORLEVEL%==0 goto 3timeout /T 15@goto a@:3write.exeexit
By admin
- One minute read - 27 words@set i=0
@:a
ping 192.168.0.59
@if %ERRORLEVEL%==0 goto 3
timeout /T 15
@goto a
@:3
write.exe
exit
@set i=0 @:aping 203.171.226.59@if %ERRORLEVEL%==0 goto 3timeout /T 15@goto a@:3write.exeexit