新建一个文本文档,把下边的代码输入进去,保存为.bat格式,运行即可
有快捷方式图标丢失或者觉得图标加载速度慢了,就run一下这个,很实用的小工具
rem 关闭Windows外壳程序explorer taskkill /f /im explorer.exe rem 清理系统图标缓存数据库 attrib -h -s -r "%userprofile%AppDataLocalIconCache.db" del /f "%userprofile%AppDataLocalIconCache.db" attrib /s /d -h -s -r "%userprofile%AppDataLocalMicrosoftWindowsExplorer*" del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorer humbcache_32.db" del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorer humbcache_96.db" del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorer humbcache_102.db" del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorer humbcache_256.db" del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorer humbcache_1024.db" del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorer humbcache_idx.db" del /f "%userprofile%AppDataLocalMicrosoftWindowsExplorer humbcache_sr.db" rem 清理 系统托盘记忆的图标 echo y reg delete "HKEY_CLASSES_ROOTLocal SettingsSoftwareMicrosoftWindowsCurrentVersionTrayNotify" /v IconStreams echo y reg delete "HKEY_CLASSES_ROOTLocal SettingsSoftwareMicrosoftWindowsCurrentVersionTrayNotify" /v PastIconsStream rem 重启Windows外壳程序explorer start explorer