Created
March 24, 2019 00:14
-
-
Save kyoma-/f28b2a305f95405fb1c506e4d5dfc0b9 to your computer and use it in GitHub Desktop.
prints WiFi profiles and deletes a profile
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 | |
rem References: | |
rem https://qiita.com/sta/items/8cab80fe74b8dcfa5336 | |
rem https://mseeeen.msen.jp/fix-priorities-for-wifi-spot-in-windows-10/ | |
setlocal | |
pushd "%~dp0" | |
netsh wlan show profiles | |
set /p p2d="Enter profile name to delete:" | |
if "%p2d%"=="" ( | |
exit /b | |
) | |
netsh wlan delete profile name="%p2d%" | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment