共計(jì) 1404 個(gè)字符,預(yù)計(jì)需要花費(fèi) 4 分鐘才能閱讀完成。
自動(dòng)寫代碼機(jī)器人,免費(fèi)開通
丸趣 TV 小編給大家分享一下怎么手動(dòng)重建 Windows 10 圖標(biāo)和圖片緩存,相信大部分人都還不怎么了解,因此分享這篇文章給大家參考一下,希望大家閱讀完這篇文章后大有收獲,下面讓我們一起去了解一下吧!
手動(dòng)重建 Windows 10 圖標(biāo)緩存
Windows 10 與之前版本 Windows 的原理差不多,圖標(biāo)緩存是存儲(chǔ)在 IconCache.db 這個(gè)特殊的數(shù)據(jù)庫(kù)文件當(dāng)中的。如果要重建 Windows 10 圖標(biāo)緩存需要如下步驟。
Windows 7 和 Windows 8 的圖標(biāo)緩存文件是存儲(chǔ)到 C:\Users\ 用戶名 \AppData\Local 文件夾當(dāng)中的,而 Windows 10 和 Windows 8.1 的圖標(biāo)緩存文件已經(jīng)被更改到了如下路徑:
%userprofile%\AppData\Local\Microsoft\Windows\Explorer
在上述文件夾中你會(huì)看到像 iconcache_32.db、iconcache_48.db、iconcache_96.db、iconcache_256.db、iconcache_1024.db、iconcache_1280.db、iconcache_1600.db、iconcache_1920.db、iconcache_2560.db、iconcache_exif.db、iconcache_idx.db、iconcache_sr.db、iconcache_wide.dd、iconcache_wide_alternate.db 這樣的文件。
將這些文件全部刪除,就可以重建 Windows 10 圖標(biāo)緩存了。當(dāng)然,如果 Windows 資源管理器正在使用當(dāng)前文件,可能會(huì)導(dǎo)致部分文件無(wú)法刪除。此時(shí),我們可以將如下代碼復(fù)制保存成一個(gè) xxx.bat 文件,再以管理員權(quán)限執(zhí)行即可。
cd /d %userprofile%\AppData\Local\Microsoft\Windows\Explorer
taskkill /f /im explorer.exeattrib -h iconcache_*.dbdel iconcache_*.db /astart explorerpause
執(zhí)行以上批處理會(huì)重啟 Windows Explorer,因此桌面會(huì)消失一下。執(zhí)行完之后 Windows 10 圖標(biāo)緩存數(shù)據(jù)庫(kù)就被刪除了,然后 Windows 10 會(huì)自動(dòng)為我們重建圖標(biāo)緩存。
手動(dòng)重建 Windows 10 縮略圖緩存
Windows 10 一般情況下會(huì)生成圖片、視頻、音樂(lè)和文檔的縮略圖,其路徑與 Windows 10 圖標(biāo)緩存文件一致,文件名類似 thumbcache_*.db。如果你的縮略圖不顯示或者不刷新可以嘗試通過(guò)如下批處理來(lái)清理,其步驟和清除圖標(biāo)緩存一致。
cd /d %userprofile%\AppData\Local\Microsoft\Windows\Explorer
taskkill /f /im explorer.exeattrib -h thumbcache_*.dbdel thumbcache_*.db /astart explorerpause
以上是“怎么手動(dòng)重建 Windows 10 圖標(biāo)和圖片緩存”這篇文章的所有內(nèi)容,感謝各位的閱讀!相信大家都有了一定的了解,希望分享的內(nèi)容對(duì)大家有所幫助,如果還想學(xué)習(xí)更多知識(shí),歡迎關(guān)注丸趣 TV 行業(yè)資訊頻道!
向 AI 問(wèn)一下細(xì)節(jié)
丸趣 TV 網(wǎng) – 提供最優(yōu)質(zhì)的資源集合!