@echo off
echo **************************************************
echo IP切换
echo 切换到外网按0,切换到外网按1
echo **************************************************
echo.
set /p Net=选择网络(0/1):
if "%Net%"=="0" goto IntNet
if "%Net%"=="1" goto YbNet
:IntNet
netsh interface ip set address "本地连接" static 197.168.201.222 255.255.255.0 201.101.102.3 1
:YbNet
netsh interface ip set address "本地连接" static 193.168.100.222 255.255.255.0 193.168.100.1 1
pause
浙公网安备 33010602011771号