[Navicat 更新试用脚本 -- bat]
注意:将下方代码写入文件, 后缀改为.bat,最后双击执行即可!
@echo off
echo Delete HKEY_CURRENT_USER\Software\PremiumSoft\NavicatPremium\Registration[version and language]
for /f %%i in ('"REG QUERY "HKEY_CURRENT_USER\Software\PremiumSoft\NavicatPremium" /s | findstr /L Registration"') do (
reg delete %%i /va /f
)
echo.
echo Delete Info folder under HKEY_CURRENT_USER\Software\Classes\CLSID
for /f %%i in ('"REG QUERY "HKEY_CURRENT_USER\Software\Classes\CLSID" /s | findstr /E Info"') do (
reg delete %%i /va /f
)
echo.
echo Finish
pause
标签:bat,--,HKEY,echo,CURRENT,%%,Navicat,Software
From: https://www.cnblogs.com/liupengfei1123/p/17849745.html