Windows删除图标快捷方式上的箭头

首先删除注册表:

 reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Classes\lnkfile /v IsShortcut
 reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Classes\piffile /v IsShortcut

设置图标:

reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /v 29 /t reg_sz /f /d "%systemroot%\system32\imageres.dll,197" 

taskkill /f /im explorer.exe

attrib -s -r -h "%userprofile%\AppData\Local\iconcache.db"

del "%userprofile%\AppData\Local\iconcache.db" /f /q

start explorer
© 版权声明
THE END
喜欢就支持一下吧
点赞0 分享