複制以下内容到本地,放到一個文本中,将字尾改為
.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