color A
@echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@echo on
@echo
@echo 1、启用外网网卡;
@echo 2、启用内网网卡;
@echo 3、退出;
@echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@echo off
set /p input=请输入数字选择需要进行的操作:
if "%input%"=="1" goto A
if "%input%"=="2" goto B
if "%input%"=="3" goto C
pause
@echo on
exit
:A
@echo\
@echo 1、启用外网网卡:
netsh inte**ce set inte**ce "外网" enabled
netsh inte**ce set inte**ce "内网" disabled
goto Q
:B
@echo\
@echo 2、启用内网网卡:
netsh inte**ce set inte**ce "内网" enabled
netsh inte**ce set inte**ce "外网" disabled
goto Q
:C
Exit
goto Q
@echo on
@echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@echo 1、启用外网网卡;
@echo 2、启用内网网卡;
@echo 3、退出;
@echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@echo
off set /p input=请输入数字选择需要进行的操作:
if "%input%"=="1" goto A
if "%input%"=="2" goto B
if "%input%"=="3" goto C
pause
@echo on
exit