@echo offset dn=Infoset rp=HKEY_CURRENT_USERSoftwareClassesCLSID:: reg delete HKEY_CURRENT_USERSoftwarePremiumSoftNavicatPremiumRegistration14XCS Navicat Premium 12.1.31激活 /f %针对navicat15%reg delete HKEY_CURRENT_USERSoftwarePremiumSoftNavicatPremiumRegistration16XCS /freg delete HKEY_CURRENT_USERSoftwarePremiumSoftNavicatPremiumUpdate /fecho 查找中.....for /f "tokens=*" %%a in ('reg query "%rp%"') do ( echo %%afor /f "tokens=*" %%l in ('reg query "%%a" /f "%dn%" /s /e ^|findstr /i "%dn%"') do ( echo 正在删除:%%a reg delete %%a /f))echo 完成重置!pauseexit