title: Batch-file for running commands in cmd
body: <p>I'm working on a little fun school project.</p>
  
  <p>I want to create a windows form application, which runs commands in cmd by opening batch-file. I do not have much experience in using batch-files.</p>
  
  <p>I need help with the following:</p>
  
  <ol>
  <li>Batch file which opens cmd</li>
  <li>Runs a command ONCE only, such as ipconfig, ping, tracert etc.</li>
  <li>Keeps cmd open with the information</li>
  </ol>
  
  <p>Otherwise good guides for working and learning batch-files are much appreciated.</p>