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

去掉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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值