去掉“快捷方式”前缀和箭头
作者:阿D 日期:2010-01-30
记录下, 记性很差..
@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
)
复制内容到剪贴板
程序代码
程序代码@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
)
评论: 0 | 引用: 0 | 查看次数: 198
发表评论
上一篇
下一篇








