title: Creating a Batch (.bat) file to open multiple CMD windows each pinging different sites
body: <p>I have a funny problem. I frequently have to open up CMD windows to communicate to offsite offices to see if their internet is up. For this example I'll just use 2 generic places. For the Code I have so far, it doesn't seem to work like it should based on what I've researched. It continues to open these two CMD Windows over and over without closing any of the prior ones and will continue to do this "open cmd" loop until either the computer crashes or the account is signed out, or the machine is restarted/hard reset. </p>
  
  <pre><code>start cmd /k ping 8.8.8.8 -t
  start cmd /k ping google.com -t
  </code></pre>
  
  <p>or I have also tried</p>
  
  <pre><code>start cmd /k ping 8.8.8.8 -t &amp; start ping google.com -t
  </code></pre>
  
  <p>The last one I heard "could" work for creating the two separate windows, which it did, but same "never-ending" loop of opening them commenced. </p>
  
  <p>All I want out of the batch file is to open a CMD Window each with its own designated site to ping without it continually opening the same CMD windows over and over until oblivion. </p>
  
  <p>Lastly, for potential important details, I have a Windows 10 Pro machine with plenty of ram (it can take a while for my computer to crash from these cmd windows but its nearly impossible to stop them.) And I have seen this exact same issue occur on a Windows 7 Enterprise and Pro Editions as well. Not sure if this really has anything to do with it. However it seems that everyone I have researched doesn't seem to have a problem running the above code and getting never ending CMD Windows opening up. Maybe its a execution setting set somewhere in a GPO or hidden CMD settings I've got to change permissions wise?</p>