当前位置:首页 > 技术经验 > 正文内容

去掉桌面快捷方式箭头

6年前 (2018-09-19)技术经验1689

方法一:(推荐)

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

以上代码复制到记事本,另存为byben.bat,运行即可隐藏桌面图标小箭头。

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
pause

以上代码复制到记事本,另存为byben.bat,运行即可恢复桌面图标小箭头。

注:BAT文件要以管理员身份运行,否则没效果的。

方法二:(不推荐,会造成意料之外的问题)

点击开始菜单》运行》输入regedit

依次展开注册表列表:HKEY_CLASSES_ROOT---lnkfile(首先点开HKEY_CLASSES_ROOT,然后按L键查找lnkfile选项,速度很快。)

删除lnkfile子项中的IsShortcut字符串值项(IsShortcut字符串是文件快捷方式小箭头的控制字符串。)

重启或注销计算机试试吧。

想恢复箭头,打开HKEY_CLASSES_ROOT---lnkfile,在右边新建字符串值IsShortcut

扫描二维码推送至手机访问。

版权声明:本文由笨笨神发布,如需转载请注明出处。

本文链接:https://www.benbenshen.com/post/23.html

分享给朋友: