现在的位置: 首页 > 综合 > 正文

去掉Windows快捷方式图标上的小箭头,无副作用(转)

2017年10月22日 ⁄ 综合 ⁄ 共 1687字 ⁄ 字号 评论关闭

去掉Windows快捷方式图标上的小箭头,无副作用(转)  

曾经看到过一种方法,删除注册表HKEY_CLASSES_ROOT\lnkfile\IsShortcut项,也能去掉快捷方式图标小箭头,但是会丢失图标右键菜单中的“锁定到任务栏”和“附到开始菜单”选项,这里要讲的方法不会出现这个问题。

将下面的代码复制到记事本,另存为“去除(恢复)小箭头.bat”,运行即可。

原理:在注册表HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer分支下新建“Shell Icons”项,在该项下新建名为“29”的字符串值,将其值设为“C:\Windows\system32\imageres.dll,196”(WinXP为C:\Windows\system32\shell32.dll,49)。删除图标缓存文件iconcache.db,再重启资源管理器explorer.exe。

1、win7去除小箭头

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /v 29 /d "%systemroot%\system32\imageres.dll,196" /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

2、win7恢复小箭头

reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /v 29 /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

3、winxp去除小箭头

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

4、winxp恢复小箭头

reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons" /v 29 /f
taskkill /f /im explorer.exe
attrib -s -r -h "%userprofile%\Local Settings\Application Data\iconcache.db"
del "%userprofile%\Local Settings\Application Data\iconcache.db" /f /q
start explorer

转自:http://zhanqiguang.blog.163.com/blog/static/465079622011111701036324/
转自:http://blog.sina.com.cn/lingchunjun

抱歉!评论已关闭.