title: Start multiple Firefox windows (with tabs) and other programs from a batch file
body: <p>I am trying to produce a .bat file which will start up two Firefox browsers with multiple tabs and some other programs. Using the following will only open the first Firefox browser with the specified tabs, but not open the second (all the applications open without issue). This is what I have at this stage (there is a prompt bit to avoid accidental running):</p>
  
  <pre><code>@echo off
  setlocal
  :PROMPT
  SET /P AREYOUSURE=Are you sure (Y/[N])?
  IF /I "%AREYOUSURE%" NEQ "Y" GOTO END
  
  start "" "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" www.site1.com/ site2.com/ www.site3.com/sitepage/
  start "" "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" site4.com site5.com
  
  start "" "C:\Program Files (x86)\PATH TO EXE"
  start "" "C:\Program Files\PATH TO EXE"
  start "" "C:\Program Files\PATH TO EXE"
  start "" "C:\Program Files\PATH TO EXE"
  
  :END
  endlocal
  </code></pre>
  
  <p>The Firefox portion was constructed based on information found on <a href="https://stackoverflow.com/questions/18166849/starting-multiple-firefox-profiles-with-batch-file-in-linux">this question</a></p>