码迷,mamicode.com
首页 > Windows程序 > 详细

去掉Win7快捷方式小箭头

时间:2017-10-18 13:44:09      阅读:227      评论:0      收藏:0      [点我收藏+]

标签:star   font   main   类型   res   size   current   profile   tar   

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

复制上面的代码,右键->新建文本文档->粘贴,然后另存为123.bat文件类型为所有文件,然后右键123.bat-以管理员身份运行该文件,注意代码格式不要复制错误,运行后,快捷方式的小箭头就被“删除”了,接着删掉新建文本文档和123.bat文件不留痕迹。


XP去掉小箭头的方和和Win7一样,只是所用到的文件不同

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

 

恢复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

 

恢复XP快捷方式箭头,注意代码格式不要复制错误

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

 

去掉Win7快捷方式小箭头

标签:star   font   main   类型   res   size   current   profile   tar   

原文地址:http://www.cnblogs.com/kevinwood/p/7686158.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!