批处理自动windows批处理 更换IP
发布网友
发布时间:2022-05-26 15:09
我来回答
共1个回答
热心网友
时间:2023-09-09 22:44
@echo off
:loop
for /f "delims=" %%i in (ip.txt) do (
start iexplore "网址"
ping -n 5 taskkill /f /im iexplore.exe
netsh interface ip set address "本地连接" static %%i 255.255.255.0 192.168.0.1 1
ping -n 2700 127.1>nul)
goto loop
pause