Win10 system tips: how to quickly remove the small arrow on the desktop shortcut through batch processing

In the default Windows system, if you want to quickly start a program, you usually use the shortcut on the desktop to double-click to open it. However, by default, except for the shortcuts that come with the Windows system, there is no small arrow icon in the lower right corner. When we create or install third-party software, there are shortcuts with small arrows. Just like the picture provided in this article, you can see that there is a small arrow on the icon of the third-party software, which is unbearable for users with obsessive-compulsive disorder or who like to be clean. And this article is a method to quickly remove the small arrow on the desktop to create a shortcut through batch processing.

The method used this time is to modify the registry, delete the Windows icon cache and restart Windows Explorer.

 
 

1
2
3
4
5
6

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

Tip: Copy the above content, create a new text file, paste it and save it. Change .txt to .cmd or .bat, then right click and run as administrator. Be sure to run as an administrator, otherwise the registry keys may not be able to be modified.

If you want to restore the default, you can also delete the added registry keys.

 
 

1
2
3
4
5
6

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

What needs to be reminded here is that it is not recommended to just manually delete the registry IsShortcut key value, which will cause many problems. It will appear that the start menu cannot be opened by pressing Win+X, an error will be reported by right-clicking the computer icon and clicking management, and the application shortcut cannot be pinned to the taskbar.

Guess you like

Origin blog.csdn.net/winkexin/article/details/131801555