Win7怎么刷新图标缓存

2024年11月30日 10:44
有1个网友回答
网友(1):

试试这样行不行
把下面的文字复制到文本文档,改后缀名为.bat,双击运行,ok
rem
关闭windows外壳程序explorer
taskkill
/f
/im
explorer.exe
rem
清理系统图标缓存数据库
attrib
-h
-s
-r
"%userprofile%\appdata\local\iconcache.db"
del
/f
"%userprofile%\appdata\local\iconcache.db"
attrib
/s
/d
-h
-s
-r
"%userprofile%\appdata\local\microsoft\windows\explorer\*"
del
/f
"%userprofile%\appdata\local\microsoft\windows\explorer\thumbcache_32.db"
del
/f
"%userprofile%\appdata\local\microsoft\windows\explorer\thumbcache_96.db"
del
/f
"%userprofile%\appdata\local\microsoft\windows\explorer\thumbcache_102.db"
del
/f
"%userprofile%\appdata\local\microsoft\windows\explorer\thumbcache_256.db"
del
/f
"%userprofile%\appdata\local\microsoft\windows\explorer\thumbcache_1024.db"
del
/f
"%userprofile%\appdata\local\microsoft\windows\explorer\thumbcache_idx.db"
del
/f
"%userprofile%\appdata\local\microsoft\windows\explorer\thumbcache_sr.db"
rem
清理
系统托盘记忆的图标
echo
y|reg
delete
"hkey_classes_root\local
settings\software\microsoft\windows\currentversion\traynotify"
/v
iconstreams
echo
y|reg
delete
"hkey_classes_root\local
settings\software\microsoft\windows\currentversion\traynotify"
/v
pasticonsstream
rem
重启windows外壳程序explorer
start
explorer