利用cmd命令查看电脑所有连接过的WiFi密码
程序员文章站
2022-05-26 09:27:07
...
for /f "skip=10 tokens=1,2 delims=:" %i in ('netsh wlan show profiles') do @for /f "tokens=1-2 delims=:" %k in ('netsh wlan show profiles %j key ^= clear ^|findstr /i "关键内容"') do @echo %j,%l>> %USERPROFILE%\desktop\1.txt