By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now!do regkey in /t"," /l HKCR\.bat,HKCR\.btm,HKCR\.cmd,HKCR\Directory\shell,HKCR\Drive\shell,HKCR\batfile,HKCR\btmfile,HKCR\cmdfile,HKLM\Software\Microsoft\Windows\CurrentVersion\App Paths\4nt.exe,HKLM\Software\Microsoft\Windows\CurrentVersion\App Paths\tcc.exe,HKLM\Software\Microsoft\Windows\CurrentVersion\App Paths\tcmd.exe
set regkey=%@trim[%regkey]
if "%@left[5,%regkey]" == "HKCR\" set regkey=HKEY_CLASSES_ROOT\%@right[-5,%regkey]
if "%@left[5,%regkey]" == "HKLM\" set regkey=HKEY_LOCAL_MACHINE\%@right[-5,%regkey]
echos .
echo. >> %backupname
echo [-%regkey] >> %backupname
iff %@regexist["%regkey"] then
del /e /q %tempfile
regedit /e %tempfile "%regkey"
ffind /+1 /k /v /m /t"%=r" %tempfile >> %backupname
endiff
enddo
Seems OK here (if I'm not misunderstanding).
Code:v:\> ver TCC 17.00.34 Windows 7 [Version 6.1.7601] [omit] .....