@echo off
echo 停止无线热点
netsh wlan stop hostednetwork
echo 是否继续启动无线热点(0)启动(1)取消
set /p isStart=请输入序号:
if %isStart%==1 goto end
netsh wlan set hostednetwork mode=allow ssid=JK_WIN8 key=00000000.0
pause
netsh wlan show hostednetwork
pause
echo AP热点已启动
pause
netsh wlan start hostednetwork
echo "请修改AP网卡的名称为AP热点"
pause
exit
:end
pause
exit
echo 停止无线热点
netsh wlan stop hostednetwork
echo 是否继续启动无线热点(0)启动(1)取消
set /p isStart=请输入序号:
if %isStart%==1 goto end
netsh wlan set hostednetwork mode=allow ssid=JK_WIN8 key=00000000.0
pause
netsh wlan show hostednetwork
pause
echo AP热点已启动
pause
netsh wlan start hostednetwork
echo "请修改AP网卡的名称为AP热点"
pause
exit
:end
pause
exit