Skip to content

Instantly share code, notes, and snippets.

@aliforever
Created March 13, 2021 12:40
Show Gist options
  • Save aliforever/c99cd0c69080be62da9a463d5513a63f to your computer and use it in GitHub Desktop.
Save aliforever/c99cd0c69080be62da9a463d5513a63f to your computer and use it in GitHub Desktop.
jb2020
// # "WebStorm", "IntelliJ", "CLion", "Rider", "GoLand", "PhpStorm", "Resharper",
REM Delete eval folder with licence key and options.xml which contains a reference to it
for %%I in ("IntelliJ") do (
for /d %%a in ("%APPDATA%\JetBrains\%%I*") do (
rd /s /q "%%a\eval"
findstr /v /i "evlsprt" %%a\options\other.xml > %%a\options\other1.xml
del /q "%%a\options\other.xml"
ren %%a\options\other1.xml other.xml
)
)
REM Delete registry key and jetbrains folder (not sure if needet but however)
reg delete "HKEY_CURRENT_USER\Software\JavaSoft" /f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment