1

I'm using IntelliJ on a desktop computer that resets everyday. So everyday I have to import my settings, restart the launcher and then open my project using the small explorer window.

Is there a way to do all this from command line in batch ? Fortunatly, the path to IntelliJ's executable, for my exported settings and for my project are always the same.

I found this question but it did not helped.

Community
  • 1
  • 1
Winter
  • 3,894
  • 7
  • 24
  • 56

1 Answers1

1

Yes, to import the settings just create a copy of the current settings directory and copy it back. Or relocate the config directory some some location where it will persist.

Opening the project from the command line is also possible, supply the full project directory path to the launcher.

CrazyCoder
  • 389,263
  • 172
  • 990
  • 904
  • Starting idea.exe or idea64.exe with my project directory as parameter just open the directory with explorer. `start "C:\Program Files (x86)\JetBrains\IntelliJ IDEA Community Edition 2016.1.2\bin\idea64.exe" E:\Programmation\SocialPlatformer` – Winter Feb 13 '17 at 13:45
  • Sorry, can't confirm, this command starts IDEA and opens the project for me. You may try with the latest version. – CrazyCoder Feb 13 '17 at 13:49
  • My bad, I was missing a `""`. http://stackoverflow.com/questions/154075/using-the-dos-start-command-with-parameters-passed-to-the-started-program Well thank you very much ! – Winter Feb 13 '17 at 13:49