title: batch file to open multiple command prompts and execute the same task
body: <p>I want a batch script which opens up multiple command prompt on a single click   and runs the same command over and over again . i have written a below code which only opens an single command prompt and stops there .is there a way to do the same.</p>
  
  <pre><code>   for /l %%x in (1, 1, 5) do (
      start cmd /c 
      cd / &amp;&amp; dir /s
     )
  </code></pre>