批处理每5秒判断网络状态
2023-11-21 乱云飞
@echo off setlocal :QQ5082500 ping -n 1 192.168.0.118 | find "TTL=" > nul if errorlevel 1 ( rem ------------------------------------------------------------------- echo 无网络信号! rem ------------------------------------------------------------------- ) else ( rem ------------------------------------------------------------------- echo 网络正常。 rem ------------------------------------------------------------------- ) timeout /t 5 > nul goto QQ5082500 endlocal cmd/k本文链接:http://80c.cc/ez/725.html
发表评论: