From 4cc7f6137672847fd6d026712fbbdb6cc15fbf59 Mon Sep 17 00:00:00 2001 From: JiangLong Date: Mon, 16 Jun 2025 10:43:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20Navicat=20=E6=B3=A8?= =?UTF-8?q?=E5=86=8C=E8=A1=A8=E6=B8=85=E7=90=86=E8=84=9A=E6=9C=AC=EF=BC=8C?= =?UTF-8?q?=E4=BB=A5=E5=88=A0=E9=99=A4=E6=9B=B4=E6=96=B0=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E3=80=81=E6=B3=A8=E5=86=8C=E4=BF=A1=E6=81=AF=E5=92=8C=20CLSID?= =?UTF-8?q?=20=E7=9B=B8=E5=85=B3=E6=9D=A1=E7=9B=AE=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit message is concise, uses the present tense, and clearly describes the purpose of the change without using any prefixes. --- Win/17X/17.2.3_navicat.bat | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Win/17X/17.2.3_navicat.bat diff --git a/Win/17X/17.2.3_navicat.bat b/Win/17X/17.2.3_navicat.bat new file mode 100644 index 0000000..b1716e0 --- /dev/null +++ b/Win/17X/17.2.3_navicat.bat @@ -0,0 +1,18 @@ +echo Delete HKEY_CURRENT_USER\Software\PremiumSoft\NavicatPremium\Update +reg delete HKEY_CURRENT_USER\Software\PremiumSoft\NavicatPremium\Update /f +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 Delete Info and ShellFolder under HKEY_CURRENT_USER\Software\Classes\CLSID +for /f "tokens=*" %%a in ('reg query "HKEY_CURRENT_USER\Software\Classes\CLSID"') do ( + for /f "tokens=*" %%l in ('reg query "%%a" /f "Info" /s /e ^| findstr /i "Info"') do ( + echo Delete: %%a + reg delete %%a /f + ) + for /f "tokens=*" %%l in ('reg query "%%a" /f "ShellFolder" /s /e ^| findstr /i "ShellFolder"') do ( + echo Delete: %%a + reg delete %%a /f + ) +) \ No newline at end of file