Skip to content

Instantly share code, notes, and snippets.

@gabbykweka
Forked from FreeWall/phpstorm.bat
Created May 12, 2022 09:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gabbykweka/1aeb970e3db7b8b8da51b6462f981c18 to your computer and use it in GitHub Desktop.
Save gabbykweka/1aeb970e3db7b8b8da51b6462f981c18 to your computer and use it in GitHub Desktop.
FOR /F "tokens=*" %%i IN (' dir /b /A %HOMEPATH%\.PhpStorm* ') DO SET PHPSTORM_DIR=%HOMEPATH%\%%i
cd %PHPSTORM_DIR%
del config\options\other.xml
del config\eval\*.evaluation.key
reg delete "HKEY_CURRENT_USER\SOFTWARE\JavaSoft\Prefs\jetbrains\phpstorm" /f
FOR /F "tokens=*" %%i IN (' dir /b /A %APPDATA%\JetBrains\PhpStorm* ') DO SET PHPSTORM_DIR=%APPDATA%\JetBrains\%%i
cd %PHPSTORM_DIR%
del options\other.xml
del eval\*.evaluation.key
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment