- 新建个文本文档,写下如下代码
rem 关闭explorer.exe
taskkill /f /im explorer.exe
attrib -h -i %userprofile%\AppData\Local\IconCache.db
del %userprofile%\AppData\Local\IconCache.db /a
rem 打开explorer
start explorer
- 然后另保存为图标名的文件(.bat)
3.双击运行
rem 关闭explorer.exe
taskkill /f /im explorer.exe
attrib -h -i %userprofile%\AppData\Local\IconCache.db
del %userprofile%\AppData\Local\IconCache.db /a
rem 打开explorer
start explorer
3.双击运行