title: Mysqldump via ShellExecute not working
body: <p>I am trying to backup my mysql database from delphi by using ShellExecute to run mysqldump.
  This is how I am using mysqldump:</p>
  
  <pre><code>MySqlDump.exe -u root  -p[password]  [databasename] &gt; TheOutputFile.Sql
  </code></pre>
  
  <p>This works from command prompt.</p>
  
  <p>I call this command line using ShellExecute:</p>
  
  <pre><code>  ShellExecute(
      0,
      nil,
      'cmd.exe',
      'C:\SmartRetail\Test System\Periodic database backup\MySqlDump.exe -u root -p123    smartretailprogramdata &gt; TheOutputFile2.Sql',
      nil,
      SW_SHOW
      );
  </code></pre>
  
  <p>This does not work, instead it opens command prompt.
  What am i doing wrong?</p>