Last active
November 1, 2018 23:55
-
-
Save yuru4c/fa975565c9c6bf31bb6db869b904c7b0 to your computer and use it in GitHub Desktop.
Windows 8 以降で Wi-Fi の優先順位を変更
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO OFF | |
SET INTERFACE="Wi-Fi" | |
:loop | |
SET NAME= | |
SET PRIORITY= | |
netsh wlan show profiles interface=%INTERFACE% | |
SET /P NAME="優先順位を変更するユーザー プロファイルの名前 >" | |
IF ERRORLEVEL 1 GOTO loop | |
SET /P PRIORITY="ユーザー プロファイルの新しい優先順位 >" | |
ECHO. | |
netsh wlan set profileorder name="%NAME%" interface=%INTERFACE% priority=%PRIORITY% | |
GOTO loop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment