新建一个文本文件,复制下面的代码(蓝色部分),并保存为任意名称的bat文件(如:一键去除小箭头.bat),双击运行即可。 @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\Explorer\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
|