Loading... ```shell : start @echo off title 宽带连接监控 mode con cols=26 lines=3&color 4e for /f "skip=1 delims=" %%a in ('rasdial') do ( ipconfig|findstr/i "%%a">nul&&( title=宽带已连接 goto: next ) rasdial 宽带连接名称 账号 密码 title=宽带未连接 拨号完成 ) : next for /l %%i in (15,-1, 0) do ( cls echo. echo 倒计时%%i 秒 重新检测 ping 127.1 -n 2 >nul ) goto: start ``` 最后修改:2020 年 12 月 29 日 05 : 13 AM © 允许规范转载 赞赏 如果觉得我的文章对你有用,请随意赞赏 ×Close 赞赏作者 扫一扫支付 支付宝支付 微信支付