当前位置:首页 > 操作系统 > Windows

Windows 刷新系统图标缓存

 

 

            <span>rem 关闭Windows外壳程序explorer
taskkill </span>/f /<span>im explorer.exe
rem 清理系统图标缓存数据库
attrib </span>-h -s -r <span>"</span><span>%userprofile%AppDataLocalIconCache.db</span><span>"</span><span>
del </span>/f <span>"</span><span>%userprofile%AppDataLocalIconCache.db</span><span>"</span><span>
attrib </span>/s /d -h -s -r <span>"</span><span>%userprofile%AppDataLocalMicrosoftWindowsExplorer*</span><span>"</span><span>
del </span>/f <span>"</span><span>%userprofile%AppDataLocalMicrosoftWindowsExplorer	humbcache_32.db</span><span>"</span><span>
del </span>/f <span>"</span><span>%userprofile%AppDataLocalMicrosoftWindowsExplorer	humbcache_96.db</span><span>"</span><span>
del </span>/f <span>"</span><span>%userprofile%AppDataLocalMicrosoftWindowsExplorer	humbcache_102.db</span><span>"</span><span>
del </span>/f <span>"</span><span>%userprofile%AppDataLocalMicrosoftWindowsExplorer	humbcache_256.db</span><span>"</span><span>
del </span>/f <span>"</span><span>%userprofile%AppDataLocalMicrosoftWindowsExplorer	humbcache_1024.db</span><span>"</span><span>
del </span>/f <span>"</span><span>%userprofile%AppDataLocalMicrosoftWindowsExplorer	humbcache_idx.db</span><span>"</span><span>
del </span>/f <span>"</span><span>%userprofile%AppDataLocalMicrosoftWindowsExplorer	humbcache_sr.db</span><span>"</span><span>
rem 清理 系统托盘记忆的图标
echo y</span>|reg delete <span>"</span><span>HKEY_CLASSES_ROOTLocal SettingsSoftwareMicrosoftWindowsCurrentVersionTrayNotify</span><span>"</span> /<span>v IconStreams
echo y</span>|reg delete <span>"</span><span>HKEY_CLASSES_ROOTLocal SettingsSoftwareMicrosoftWindowsCurrentVersionTrayNotify</span><span>"</span> /<span>v PastIconsStream
rem 重启Windows外壳程序explorer
start explorer</span>

 

原文:https://www.cnblogs.com/nanqiang/p/11023312.html


【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!

相关教程推荐

其他课程推荐