## 解法-1:刪除登錄檔機碼 1. 執行 regedit 2. 找到如下的機碼 HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell 3. 刪除 BagMRU 以及 Bags ## 解法-2:撰寫 python 強制以 subprocess 開啟檔案總管 ``` import subprocess import os subprocess.run(['explorer', '/select,', os.path.abspath("D:/")], shell=False) ``` 解法-1 若無法解決,可能是檔案總管在初始化時,卡在某個路徑(轉圈圈) 親自試過,用解法2即可解決 GPT 的解釋是: - 手動開 Explorer,會做 **完整 Shell 初始化**(Quick Access / Libraries / Network / Search / 最近項目) - ✅ 此解法:跳過大部分初始化,直接進「已知實體路徑」 > i.e. > Explorer 第一次被 /select, 喚醒 > 之後:COM / Shell / Search / Thumbnail / Namespace 被初始化成功
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up