2023年12月15日发(作者:)
去除win7快捷方式小箭头(批处理)
复制代码,新建文本文档,粘贴代码,另存为保存bat格式即可
———— c:windows
图片注意放到里面
去除win7小箭头批处理:
@echo off
color 0a
title 去掉win7小箭头批处理
for /f %%i in ('cd') do set currentpath=%%i
copy %cd% c:windows
@echo Windows Registry Editor Version 5.00>>D:
@echo [HKEY_CLASSES_ROOTpiffile]>>D:
@echo "IsShortcut"="">>D:
@echo [HKEY_CLASSES_ROOTlnkfile]>>D:
@echo "IsShortcut"="">>D:
@echo
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerShell Icons]>>D:
@echo "29"="C:,0">>D:
regedit/s D:
del D:
taskkill /f /im
ping localhost -n 5
start "" "%windir%"
exit
恢复win7小箭头批处理
@echo off
color 0a
title 恢复win7小箭头批处理
@echo Windows Registry Editor Version 5.00>>D:
@echo
[-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerShell Icons]>>D:
regedit/s D:
del D:
del c:
taskkill /f /im
ping localhost -n 5
start "" "%windir%"
exit
发布评论