title: running multiple commands in cmd with Delphi
body: <p>I am trying to use <code>cmd</code> from Delphi to apply some commands. I use following code </p>
  
  <pre><code>ShellExecute(Application.handle, 'runas', 'cmd.exe',
    PChar('/c command to do '), nil, SW_show);
  </code></pre>
  
  <p>I want to run more than one command in the same execution, for example </p>
  
  <pre><code>/c command1 command2 command3
  </code></pre>
  
  <p>I already made a bat file to run some commands. But I don't like the idea of storing a bat to my project. Can I apply more than one command in one execution? Can this be done? </p>