展开全部
title wifi管理
color A
@echo on
@echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@echo 1、启用并设定虚拟WiFi网卡;
@echo 2、开启无线网络;
@echo 3、关闭无线网络;
@echo 4、显示无线网络信息;
@echo 5、退出;
@echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@echo off
set /p input=请输入数字选择需要进行的操作:
if "%input%"=="1" goto A
if "%input%"=="2" goto B
if "%input%"=="3" goto C
if "%input%"=="4" goto D
if "%input%"=="5" goto E
pause
@echo on
exit
:A
@echo\
@echo 1、启用并设定虚拟WiFi网卡:
netsh wlan set hostednetwork mode=allow ssid=myssid key=mypassword
goto Q
:B
@echo\
@echo 2、开启无线网络:
netsh wlan start hostednetwork
goto Q
:C
@echo\
@echo 3、关闭无线网络:
netsh wlan stop hostednetwork
goto Q
:D
@echo\
@echo 4、显示无线网络信息:
netsh wlan show hostednetwork
goto Q
:E
Exit
:Q
@echo on
@echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@echo 1、启用并设定虚拟WiFi网卡;
@echo 2、开启无线网络;
@echo 3、关闭无线网络;
@echo 4、显示无线网络信息;
@echo 5、退出;
@echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@echo off
set /p input=请输入数字选择需要进行的操作:
if "%input%"=="1" goto A
if "%input%"=="2" goto B
if "%input%"=="3" goto C
if "%input%"=="4" goto D
if "%input%"=="5" goto E
pause
@echo on
exit
color A
@echo on
@echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@echo 1、启用并设定虚拟WiFi网卡;
@echo 2、开启无线网络;
@echo 3、关闭无线网络;
@echo 4、显示无线网络信息;
@echo 5、退出;
@echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@echo off
set /p input=请输入数字选择需要进行的操作:
if "%input%"=="1" goto A
if "%input%"=="2" goto B
if "%input%"=="3" goto C
if "%input%"=="4" goto D
if "%input%"=="5" goto E
pause
@echo on
exit
:A
@echo\
@echo 1、启用并设定虚拟WiFi网卡:
netsh wlan set hostednetwork mode=allow ssid=myssid key=mypassword
goto Q
:B
@echo\
@echo 2、开启无线网络:
netsh wlan start hostednetwork
goto Q
:C
@echo\
@echo 3、关闭无线网络:
netsh wlan stop hostednetwork
goto Q
:D
@echo\
@echo 4、显示无线网络信息:
netsh wlan show hostednetwork
goto Q
:E
Exit
:Q
@echo on
@echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@echo 1、启用并设定虚拟WiFi网卡;
@echo 2、开启无线网络;
@echo 3、关闭无线网络;
@echo 4、显示无线网络信息;
@echo 5、退出;
@echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@echo off
set /p input=请输入数字选择需要进行的操作:
if "%input%"=="1" goto A
if "%input%"=="2" goto B
if "%input%"=="3" goto C
if "%input%"=="4" goto D
if "%input%"=="5" goto E
pause
@echo on
exit
追问
你好,这个不是我想要的哦?我是想要一键切换网线或者无线,例如有线网卡在用时候可以一下切换到无线网卡,反过来也可以。
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询