title: How to call another .bat file while current .bat file is running
body: <p>I wants to run sonar on my project so i'm creating  <strong>.bat</strong>  file for that</p>
  
  <p>//First Step</p>
  
  <blockquote>
    <p>I needs to start the server first from this location
    'C:\Sonar\sonarqube-4.1.1\bin\windows-x86-64\StartSonar.bat' and after
    server is online and running...</p>
  </blockquote>
  
  <p>//Second Step</p>
  
  <blockquote>
    <p>Open another cmd and set my project path and execute
    'C:\Sonar\sonar-runner\sonar-runner-2.3\bin\sonar-runner.bat' on my
    project</p>
  </blockquote>
  
  <p>//What i have done uptil now is first started the server as said in First Step and now i'm executing '.bat' created by me as below</p>
  
  <pre><code>@echo off
  cd /d D:\PROJECT_Workspace\GUI
  call C:\Sonar\sonar-runner\sonar-runner-2.3\bin\sonar-runner.bat
  </code></pre>
  
  <blockquote>
    <p>I wants to merge Two steps as explained above and create one '.bat' which im failing to create.</p>
  </blockquote>
  
  <p>As im new in creating bat and trying to create bat file so any help would be appreciated..</p>
  
  <p>Thanks in advance !!!</p>