title: How can I run a cmd command in delphi?
body: <p>I'm trying to run a cmd command in delphi and have tried </p>
  
  <pre><code>ShellExecute(Handle, 'runas', 'cmd.exe', ' net start ExportFileMainService', nil, SW_SHOWNORMAL);
  </code></pre>
  
  <p>but it doesn't seem to be working and I'm not sure why.</p>