修改注册表
1 在搜索栏中输入 regedit ,打开注册表
2 删除项目:计算机\HKEY_CURRENT_USER\Software\Scooter Software\Beyond Compare 4\CacheId
批处理文件如下:(将以下代码写入文本文档,重命名该文档为delete.bat,然后右键--以管理员身份运行即可)
@echo off
setlocal enabledelayedexpansion
set key="HKEY_CURRENT_USER\Software\Scooter Software\Beyond Compare 4"
reg query !key!
set /a cnt=0
for /f "tokens=1* delims= " %%a in ('reg query !key!') do (
echo ------------------!cnt!---------------
if "!cnt!" == "0" (
echo skip
) else (
echo %%a
echo %%b
rem echo %%c
if /i "%%a"=="CacheID" (
echo Find it.............................
echo reg delete !key! /v CacheID
reg delete !key! /v CacheID
)
)
set /a cnt=cnt+1
)
pause
网友评论