menqi20 当前离线
一级士官
abcdshenji 当前离线
TOP
lxzzr (庄生晓梦)当前离线
论坛巡查
@echo off rasdial 宽带连接 username password|find "已经">nul&&for /f "tokens=3 delims= " %%a in ('netsh interface ipv4 show addresses "宽带连接" ^| find "IP"') do echo IP:%%a pause复制代码
rasdial 宽带连接 username password|find "已经">nul&&for /f "tokens=4" %i in ('route print^|findstr "0.0.0.0.*0.0.0.0"') do echo IP:%i复制代码
Hello123World 当前离线
荣誉版主
@echo off For /f %%k in ('rasdial^|find "已连接"') do ipconfig For /f %%k in ('rasdial^|find "没有连接"') do rasdial 宽带连接 user password ::user password分别是你的上网账号、密码 pause复制代码