显示去除快捷方式图标上的小箭头

除快捷方式图标上的小箭头。

1. 启动注册表编辑器(开始->运行->输入regedit),然后依次展开如下分支:“HKEY_CLASSES_ROOT\lnkfile”;

2. 删除“lnkfile”子项中的“IsShortcut”字符串值项,因为“IsShortcut”项是用来控制是否显示普通应用程序和数据文件快捷方式中小箭头的;

3. 再依次展开如下分支:“HKEY_CLASSES_ROOT\piffile”;

4. 删除“piffile”子项中的“IsShortcut”字符串值项,IsShortcut值项用来控制是否显示MS_DOS程序快捷方式的小箭头;

5. 退出注册表编辑器,重启EXPLORER.EXE进程。





============================================
@echo off
@echo [Version]>%systemroot%\Shortcut.inf
@echo Signature="$Windows NT$">>%systemroot%\Shortcut.inf
@echo [DefaultInstall]>>%systemroot%\Shortcut.inf
@echo DelReg=del>>%systemroot%\Shortcut.inf
@echo [del]>>%systemroot%\Shortcut.inf
@echo HKEY_CLASSES_ROOT,"lnkfile",>>%systemroot%\Shortcut.inf
@echo HKEY_CLASSES_ROOT,"lnkfile",IsShortcut>>%systemroot%\Shortcut.inf
@rundll32.exe setupapi,InstallHinfSection DefaultInstall 128 %SystemRoot%\Shortcut.inf

@rem 打开记事本(开始-运行:notepad)把以上内容另存为*.bat文件或*.cmd文件,双击运行后隐藏快捷方式小箭头



@echo off
@echo [Version]>%systemroot%\Shortcut.inf
@echo Signature="$Windows NT$">>%systemroot%\Shortcut.inf
@echo [DefaultInstall]>>%systemroot%\Shortcut.inf
@echo AddReg=add>>%systemroot%\Shortcut.inf
@echo [add]>>%systemroot%\Shortcut.inf
@echo HKEY_CLASSES_ROOT,"lnkfile",,0x00000000,"快捷方式">>%systemroot%\Shortcut.inf
@echo HKEY_CLASSES_ROOT,"lnkfile",IsShortcut,0x00000000,"">>%systemroot%\Shortcut.inf
@rundll32.exe setupapi,InstallHinfSection DefaultInstall 128 %SystemRoot%\Shortcut.inf

@rem 打开记事本(开始-运行:notepad)把以上内容另存为*.bat文件或*.cmd文件,双击运行后显示快捷方式小箭头

相关文档
最新文档