当前位置:文档之家› 完整去除win7快捷方式小箭头

完整去除win7快捷方式小箭头

去除win7快捷方式小箭头,(批处理)
2010-05-13 16:41
复制代码,新建文本文档,粘贴代码,另存为保存bat格式即可
Empty.ico ———— c:\windows
图片注意放到里面
去除win7小箭头批处理:
@echo off
color 0a
title 去掉win7小箭头批处理
for /f %%i in ('cd') do set currentpath=%%i
copy %cd%\Empty.ico c:\windows
@echo Windows Registry Editor Version 5.00>>D:\tmp.reg
@echo [HKEY_CLASSES_ROOT\piffile]>>D:\tmp.reg
@echo "IsShortcut"="">>D:\tmp.reg
@echo [HKEY_CLASSES_ROOT\lnkfile]>>D:\tmp.reg
@echo "IsShortcut"="">>D:\tmp.reg
@echo
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explore r\Shell Icons]>>D:\tmp.reg
@echo "29"="C:\\Windows\\Empty.ico,0">>D:\tmp.reg
regedit/s D:\tmp.reg
del D:\tmp.reg
taskkill /f /im Explorer.exe
ping localhost -n 5
start "explorer.exe" "%windir%\explorer.exe"
exit
恢复win7小箭头批处理
@echo off
color 0a
title 恢复win7小箭头批处理
@echo Windows Registry Editor Version 5.00>>D:\tmp.reg
@echo
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explor er\Shell Icons]>>D:\tmp.reg
regedit/s D:\tmp.reg
del D:\tmp.reg
del c:\windows\Empty.ico
taskkill /f /im Explorer.exe
ping localhost -n 5
start "explorer.exe" "%windir%\explorer.exe"
exit。

相关主题