- @echo off
- mode con cols=35 lines=8 & color 0A
- title 去除系统快捷方式箭头
- echo 程序将为你去除系统快捷方式的小箭头
- pause
- echo Windows Registry Editor Version 5.00>>1.reg
- echo [HKEY_CLASSES_ROOT\\lnkfile]>>1.reg
- echo "IsShortcut"=->>1.reg
- echo [HKEY_CLASSES_ROOT\\piffile]>>1.reg
- echo "IsShortcut"=->>1.reg
- echo [HKEY_CLASSES_ROOT\\InternetShortcut]>>1.reg
- echo "IsShortcut"=->>1.reg
- echo [HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\InternetShortcut]>>1.reg
- echo "IsShortcut"=->>1.reg
- regedit/s 1.reg
- del 1.reg
- cls
- echo 正在关闭显示桌面进程...
- ping localhost -n 5 > nul
- taskkill /f /im Explorer.exe > nul
- cls
- echo 正在开启显示桌面进程...
- ping localhost -n 8 > nul
- start "explorer.exe" "%windir%\\explorer.exe"
- cls
- echo 系统快捷方式箭头已清除!
- pause
- #该片段来自于http://www.codesnippet.cn/detail/260420133056.html
来源: http://www.codesnippet.cn/detail/260420133056.html