×

清除、恢复桌面快捷方式小箭头

hqy hqy 发表于2024-03-14 14:09:40 浏览456 评论0

抢沙发发表评论

一.清除桌面快捷方式小箭头

方法一:


@echo off

color 2

reg delete HKCR\lnkfile /v IsShortcut /f

reg delete HKCR\piffile /v IsShortcut /f

reg delete HKCR\InternetShortcut /v IsShortcut /f

taskkill /f /im explorer.exe && explorer


方法二:


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



二.恢复桌面快捷方式小箭头


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


桌面新建 .txt 文本文档—复制代码到文档—Ctrl+S保存—更改文件名为XX.bat

鼠标右键 以管理员身份运行

尽情体验纯净的桌面吧!

建议慎用此功能!!!


本文链接:https://hqyman.cn/post/5441.html 非本站原创文章欢迎转载,原创文章需保留本站地址!

分享到: