2025年10月29日 星期三

修復快捷圖示不見(變成預設圖)

將以下代碼儲存到記事本,以副檔名.bat儲存

  • 開啟記事本(Notepad)
  • 貼上下面內容
  • 儲存為檔案名,例如:Fix_IconCache.bat
  • 右鍵 → 以系統管理員身分執行

 

 @echo off

echo.

echo ===========================================

echo   Windows 11 圖示快取修復工具

echo   作者: https://lanlanlue.blogspot.com/

echo ===========================================

echo.

echo 停止 Explorer 進程中...

taskkill /IM explorer.exe /F >nul 2>&1

echo 刪除圖示暫存檔...

powershell -Command "Remove-Item -Path \"$env:LOCALAPPDATA\IconCache.db\" -Force -ErrorAction SilentlyContinue"

powershell -Command "Remove-Item -Path \"$env:LOCALAPPDATA\Microsoft\Windows\Explorer\iconcache*\" -Force -ErrorAction SilentlyContinue"

powershell -Command "Remove-Item -Path \"$env:LOCALAPPDATA\Microsoft\Windows\Explorer\thumbcache*\" -Force -ErrorAction SilentlyContinue"

echo 重新啟動 Explorer...

start explorer.exe

echo.

echo ✅ 完成!請檢查圖示是否恢復。

pause


或是直接以系統管理員身分執行PowerShell

執行以下代碼

taskkill /IM explorer.exe /F Remove-Item -Path "$env:LOCALAPPDATA\IconCache.db" -Force -ErrorAction SilentlyContinue Remove-Item -Path "$env:LOCALAPPDATA\Microsoft\Windows\Explorer\iconcache*" -Force -ErrorAction SilentlyContinue Remove-Item -Path "$env:LOCALAPPDATA\Microsoft\Windows\Explorer\thumbcache*" -Force -ErrorAction SilentlyContinue Start-Process explorer.exe 

 

赤金行星的巨核

赤金行星的巨核 💡 你知道嗎? 水星的核心占了全星的大半 標籤:水星, 內部, MESSENGER 📖 真相大揭密 水星半徑2439公里、密度5.43 g/cm³,NASA MESSENGER指出核心半徑約佔85%、質量佔70%,岩殼僅數百公...