win7的圖標都變爲黑色的框怎麼解決?
rem 關閉explorer.exe
taskkill /f /im explorer.exe
attrib -h -i %userprofile%\AppData\Local\IconCache.db
del %userprofile%\AppData\Local\IconCache.db /a
rem 打開
explorerstart explorer
把上述代碼保存拷貝到一個txt文件,並重命名爲xx.bat,也就是變爲批處理文件。
再以管理員的權限運行給批處理文件。