- 删除文件夹
C:\Users\zhang.xiaodong\AppData\Roaming\IDMComp\UltraEdit
下所有文件。 - 删除注册表中相关项(UltraEdit)
@echo off
setlocal enabledelayedexpansion
set key="HKEY_CURRENT_USER\Software\IDM Computer Solutions\UltraEdit"
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
)
set /a cnt = cnt+1
)
echo reg delete !key! /va /f
reg delete !key! /va /f
pause
网友评论