:: @title 重置Navicat Premium试用天数 @echo off setlocal rem NAVB-KXVP-XUQZ-XPW7 set Info=Info set Regist=Registration rem 删除Regist for /f %%i in ('"REG QUERY HKCU\Software\PremiumSoft\NavicatPremium /f %Regist% /k | findstr %Regist%"') do ( echo "%%i" REG DELETE "%%i" /va /f ) rem 删除Info for /f %%i in ('"REG QUERY HKCU\Software\Classes\CLSID /s /f %Info% /k | findstr %Info%"') do ( echo "%%i" REG DELETE "%%i" /va /f ) endlocal :: pause
标签:Info,Premium,%%,重置,Navicat,rem,REG From: https://www.cnblogs.com/wjshan0808/p/16886379.html