Powershell Start-Process idea64.exe ExampleProject-Files
Answered
Hi,
I'm working with my IDE in different projects at the same time. I wrote a powershell-script-helper that starts environments of every project if it is needed. Different Windows, Folder-Explorer, placing on 3 Different Monitors, ...
What I try is:
Start-Process -FilePath "C:\Users\XXXXXXX\AppData\Local\JetBrains\Toolbox\apps\IDEA-U\ch-0\203.5981.155\bin\idea64.exe" -Wait
It opens IntelliJ but the last open project only...
Problem:
- If Update IntelliJ, correct path update is needed
- Is it possible to give a project path to IntelliJ and then open it? -> If, yes -> How?
Any idea how to solve this?
Please sign in to leave a comment.
1. You can use https://www.jetbrains.com/toolbox-app/ which installs and updates a command line launcher in the common location of your choice automatically. See https://www.jetbrains.com/help/idea/working-with-the-ide-features-from-command-line.html#toolbox .
2. Yes, specify the project directory: https://www.jetbrains.com/help/idea/opening-files-from-command-line.html .
I tried the following solution.
Code for PowerShell of any Windows10 machine
My Code at "Helferlein" etPowershell
Works well! Thank you! Serge Baranov