title: How do I run a command-line program in Delphi?
body: <p>I need to execute a Windows "find" command from a Delphi software. I've tried to use the <code>ShellExecute</code> command, but it doesn't seem to work. In C, I'd use the <code>system</code> procedure, but here... I don't know. I'd like to do something like this:</p>
  
  <pre><code>System('find "320" in.txt &gt; out.txt');
  </code></pre>
  
  <p>Edit : Thanks for the answer :)
  I was trying to run 'Find' as an executable, not as argument for cmd.exe.</p>