复制以下内容到本地,放到一个文本中,将后缀改为
.bat
,保存的编码记得选ANSI,要是能看懂英文无所谓
@echo off
color 2
title 获取wifi密码/Get the password of wifi
netsh wlan show profiles
echo 以上是曾经连接过的wifi/These are wifis that have been connected before
echo 请请输入其中一个名字(注意大小写)/Please enter one of the names (case-sensitive)
set/p wifiName=
netsh wlan show profile name="%wifiName%" key=clear
echo "关键内容"就是此wifi的密码/The key is the WiFi password.
pause