title: How to run an executable file using Perl on Windows XP?
body: <p>How to run an executable file using perl?</p>
  
  <p>For instance, i want to run a plain notepad.exe. How could I achieve this?</p>
  
  <p>This is what I've got:</p>
  
  <pre><code>my @args = system("notepad.exe");
  system(@args) == 0  or die "system @args failed: $?";
  </code></pre>
  
  <p>But it returns:</p>
  
  <p><code>Can't spawn "cmd.exe": No such file or directory blah blah blah.</code></p>
  
  <p>What am I missing?</p>