Equn93

@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

分类:

技术点:

相关文章:

  • 2021-04-15
  • 2021-12-22
  • 2021-12-22
猜你喜欢
  • 2022-12-23
  • 2021-11-02
  • 2021-11-28
  • 2021-12-01
  • 2021-12-13
  • 2021-12-29
  • 2021-12-10
相关资源
相似解决方案