去掉“快捷方式”前缀和箭头

来源:百度文库 编辑:神马文学网 时间:2024/04/28 18:36:35

@echo off&&color 0b&mode con lines=10&echo.&echo.&echo.&echo.
title 去掉”快捷方式“前缀和箭头
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer" /v link /t REG_BINARY /d 00000000 /f
reg delete HKEY_CLASSES_ROOT\lnkfile /v IsShortcut /f
reg delete HKEY_CLASSES_ROOT\piffile /v IsShortcut /f
reg delete HKEY_CLASSES_ROOT\InternetShortcut /v IsShortcut /f
set /p YN=     修改完毕,是否需要不重启马上生效?[Y/N]
if /i "%YN%" == "Y" (
    taskkill /im explorer.exe /f
    ping 127.1 -n 1
    start explorer.exe
)

用法:复制后保存为去掉快捷方式”前缀和箭头.bat即可。

除去快捷方式箭头的最简单的方法

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\lnkfile]
"IsShortcut"=-
[HKEY_CLASSES_ROOT\piffile]
"IsShortcut"=-

把上面的内容粘贴在txt文本中,保存为格式为reg的文件,然后双击即可,重启电脑之后你就会发现快捷方式的箭头不见了。