rem windows7容易出现快捷方式图标无故丢失,或者出现非图片的异常状况,但仍能启动程序,在快捷方式属性里更改图标也没用,
rem 有些程序重装后可以修正过来,但有些重装也无济于事。
rem 解决方法是将图标缓存文件删除即可,以下是脚本:
rem 关闭explorer.exe进程
taskkill /f /im explorer.exe
rem 删除图标缓存文件iconcache.db
cd /d %userprofile%\appdata\local
del iconcache.db /a
rem 重启explorer.exe进程
start explorer.exe