title: Open IntelliJ terminal window from windows batch file
body: <p>I am using IntelliJ community edition and trying to find out how to start a terminal session using windows batch file.</p>
  
  <p>For background - In our application, we need to run zookeeper, kafka and a spring-boot app before I can run my spring boot app.  Currently, I run each of them individually, in a command window.  I am working on a script but that opens 3 command windows.  I would like them to start a intellij terminal session when i run it from within intellij.</p>
  
  <pre><code>StartApps.bat
  
  Start "Zookeper Server" cmd.exe /k "zkserver"
  Start "Kafa" cmd.exe /k "H:\Software\kafka\bin\windows\kafka-server-start.bat H:\Software\kafka\config\server.properties"
  Start "Initial Spring-boot" cmd.exe /k "java -jar H:\workspace\StarterApp.jar"
  </code></pre>
  
  <p>When I open a Terminal session in Intellij and run the above batch file, it opens 3 windows command windows for each of the calls.  I would like it to open a Intellij Terminal session, so that i don't have to keep on alternating between different windows when developing and testing my app, that need the above three to be running</p>
  
  <p>Hopefully, there is a solution for this.</p>
  
  <p>Thanks</p>