Get the App
SLTechnology News&Howtos  ›  Development  › 

How to use batch processing to remove the small arrow pattern from the shortcut

Shulou Source: shulou.com Published: 2022-06-03 08:19:45 11月09日 Update

This article mainly shows you "how to use batch processing to remove the small arrow pattern on the shortcut". The content is easy to understand and clear. I hope it can help you solve your doubts. Let the editor lead you to study and learn the article "how to use batch processing to remove the small arrow pattern on the shortcut".

The code is as follows:

@ echo off

Color 02

Echo Please select the action to perform (1-delete, 2-restore, 3-exit)

Set choice=

Set / p choice= Please select (1-2-3) press enter to execute:

If / I'% choice%'=='1' goto a

If / I'% choice%'=='2' goto b

If / I'% choice%'=='3' goto end

: a

Reg delete HKEY_CLASSES_ROOT\ piffile / v IsShortcut / f

Reg delete HKEY_CLASSES_ROOT\ lnkfile / v IsShortcut / f

Taskkill / f / im explorer.exe

Cls

Explorer.exe

: b

Reg add HKEY_CLASSES_ROOT\ lnkfile / v IsShortcut / t REG_SZ / f

Reg add HKEY_CLASSES_ROOT\ piffile / v IsShortcut / t REG_SZ / f

Taskkill / f / im explorer.exe

Cls

Explorer.exe

: end

Exit

Make it to notepad

The file suffix is changed to ".bat"

Double-click to run option 1 to delete 2 to restore

The above is all the contents of the article "how to use batch processing to remove the small arrow pattern on shortcuts". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Patterns methods arrows content articles selection learning help code suffixes documents understandable more organization knowledge editing industry notepad information information channels Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux Microsoft vpn MariaDB macOS