启停无线网卡bat脚本

@echo off
color 2
title    启停无线网卡

echo                            启动无线网卡=======》按1键   
echo                            关闭无线网卡=======》按2键  
  
set /p n=
if /i "%n%" equ "1" goto start
if /i "%n%" equ "2" goto stop
:start
echo 您选择了无线网卡模式
echo 正在设置,请稍后......
netsh interface set interface "无线网络连接" enabled
goto end

:stop
echo 您选择了网卡模式
echo 正在设置,请稍后......
netsh interface set interface "无线网络连接" disabled
goto end
原文地址:https://www.cnblogs.com/chongchong88/p/5499829.html