1、新建一个文本文件(如不显示.txt后缀电脑要在文件夹里设置“显示已知文件扩展名”)
2、复制下面代码粘贴后保存
3、修改扩展名为 .bat
4、右键以管理员身份打开

win11代码

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /v 29 /d "%systemroot%\system32\imageres.dll,197" /t reg_sz /f
taskkill /f /im explorer.exe
attrib -s -r -h "%userprofile%\AppData\Local\iconcache.db"
del "%userprofile%\AppData\Local\iconcache.db" /f /q
start explorer
pause

win10代码

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /v 29 /d "%systemroot%\system32\imageres.dll,197" /t reg_sz /f
taskkill /f /im explorer.exe
start explorer
pause
最后修改:2024 年 12 月 13 日
如果觉得我的文章对你有用,请随意赞赏