bikkuri 当前离线
列兵
DAIC 当前离线
中将
@echo off for /f "tokens=13" %%i in (a.txt) do ( echo %%i | find "." >nul && start http://%%i goto :eof )复制代码
TOP
apang 当前离线
上将
@echo off set "re=Gateway.*[0-9] 网关.*[0-9]" for /f "tokens=2delims=:" %%a in ('ipconfig^|findstr /i "%re%"') do ( set "ip=%%a" ) "%programfiles%\Internet Explorer\iexplore" http://%ip: =%/ pause复制代码
C:\Windows\system32>(set "ip= 192.168.11.1" ) C:\Windows\system32>echo %ip% 192.168.11.1复制代码
@echo off for /f "tokens=13" %%i in ('ipconfig ^| findstr Gateway') do ( echo %%i | find "." >nul && start http://%%i goto :eof )复制代码
@echo off for /f "tokens=13" %%i in ('ipconfig ^| findstr Gateway') do ( echo %%i | find "." >nul && start http://%%i goto :Open_Gate ) :Open_Gate for /l %%i in (10,1,20) do ( ping 192.168.%%i.1 >nul && start http://192.168.%%i.1 )复制代码
寒冰ckj 当前离线
a22124497 当前离线
@echo off echo off title Open Gateway REM Get Gateway IP for /f "delims=: tokens=2" %%i in ('ipc ... 寒冰ckj 发表于 2014-2-15 19:14
hnldwhm52 当前离线