標籤:free wireless ap 使用筆記本建立免費無線熱點
使用筆記本建立免費無線熱點 Create Free Ad-Hoc NetWork
秒殺各種“xx度WiFi ”,“xx星隨身WIFI”
win7作業系統通過測試,xp不能用
另存指令碼為Free_AP.bat
@echo offtitle JJ Wireless Access-Point Assistantver | find " 6." >nulif not %errorlevel%==0 ver | find " 7." >nulIf not %errorlevel%==0 GOTO ErrNotSupportOS:menuSET AP_SSID=%COMPUTERNAME%APSET AP_KEY=%username%1470258369call :test_statusclsecho.echo. Free Wifi Access Pointecho. ======================echo. Ver 1.0, 20150107echo. echo. ** 無線 SSID ** : "%AP_SSID%"echo. ** 密碼 Key ** : "%AP_KEY%"echo. ---------------------------------------------------------------echo. 菜單Menuecho. echo. 1. 啟動/停止無線路由 Start/stop service "%AP_STATUS%"echo. 2. 查看詳細資料 Show detailecho. D. 禁用無線路由 Disableecho. echo. Q. 退出Quitecho.echo. 請輸入菜單號碼, 如果不知道要做什麼, 輸入數字 1 就好 :-)echo. Please select your menu:set userselect=set /P userselect=:^>if ["%userselect%"]==["1"] call :startstop_svcif ["%userselect%"]==["2"] call :show_detailif ["%userselect%"]==["D"] call :disable_apif ["%userselect%"]==["d"] call :disable_apif ["%userselect%"]==["Q"] goto :quitif ["%userselect%"]==["q"] goto :quitecho.echo.echo.goto :menu:initcall :call_wlan_cmd set hostednetwork mode=allow ssid=%AP_SSID% key=%AP_KEY%goto :eof:startstop_svcecho.call :test_statusif ["%AP_STATUS%"]==[""] call :initif ["%AP_STATUS%"]==["Not available"] call :initnetsh wlan show hostednetwork|find "Status :"|find "Not started" >nulif %errorlevel%==0 ( call :call_wlan_cmd start hostednetwork) else ( call :call_wlan_cmd stop hostednetwork)pausegoto :eof:test_statusset AP_STATUS=for /F "tokens=1,2 delims=:" %%s in ( 'netsh wlan show hostednetwork ^| find "Status :"') do set AP_STATUS=%%tSET AP_STATUS=%AP_STATUS:~1%goto :eof:call_wlan_cmdnetsh wlan %*if not "%errorlevel%" == "0" ( echo. 發生錯誤 Error Found echo. 需要一個有管理員權限的帳戶登陸系統,且用滑鼠右鍵點“以系統管理員身份”運行 echo. You must run this command from a command prompt with administrator privilege. echo.)goto :eof:disable_apcall :call_wlan_cmd set hostednetwork mode=disallowgoto :eof:show_detailcall :call_wlan_cmd show hostednetworkpausegoto :eof:ErrNotSupportOSecho. Error:echo. Only Win7 is supported!echo.pausegoto :eof:quit
使用筆記本建立免費無線熱點 Create Free Ad-Hoc NetWork