win10 的图标丢失了怎么办?

情况说明

几分钟前,自己手贱,居然一不小心把那D盘的分区表给删了,,,虽然说是借助DiskGenius即使找了回来,但是一个尴尬的情况出现了,原来装在D盘的程序虽然可以用,但是图标却没了。。。。。。这对于有强迫症的我来说,让我浑身不舒服。

解决方案

首先,感谢大佬wzy1551368的博客,因为这个完全是照搬他的,访问具体连接
创建一个文本文件,然后复制粘贴以下内容:

rem 关闭explorer.exe
taskkill /f /im explorer.exe
attrib -s -h -i %userprofile%AppDataLocalIconCache.db
del %userprofile%AppDataLocalIconCache.db /a
attrib +h +s %userprofile%AppDataLocalIconCache.db
rem 打开explorer
start explorer

最后以’.bat’格式保存,双击运行,完美解决。

猜你喜欢

转载自blog.csdn.net/qq_23729557/article/details/85920061