title: How do I run batch scripts from PowerShell?
body: <p>I'm having a bit of a problem trying to write a PowerShell script that allows me to open up <code>cmd.exe</code> and then write into it so I can run some batch scripts. I'm building this to be able to work with <code>octo.exe</code> in case that helps any for working with releases.</p>
  
  <p>So far I have:</p>
  
  <pre><code>cmd.exe /c start cmd
  </code></pre>
  
  <p>I've tried a few different things, and everything I find online is for opening and running PowerShell from <code>cmd.exe</code>.</p>