隐藏桌面图标的快捷方式小箭头
2019-02-25 本文已影响0人
张天择
新建一个TXT文件复制以下代码:
![](https://img.haomeiwen.com/i13132729/caf92a5b003ec118.png)
![](https://img.haomeiwen.com/i13132729/9327d1f3467c8b09.png)
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
win10:
@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
将文件另存为BAT格式。运行~~~~~~
最好使用管理员运行