title: How to run a program from cmd.exe (Windows XP)?
body: <p>I sometimes need to run a program from cmd.exe. This only seems to work if this program is present in <code>C:\WINDOWS\system32</code>.</p>
  
  <p>So I just copied the <code>.exe</code> file into this folder and until now that worked (for Python and one or two other applications). However, I think this is not the proper way to do it. And when I try this with <code>php.exe</code>, I get an error saying some <code>.dll was not found</code>. I suspect it has to do with relative paths. </p>
  
  <p>Could anyone please point out the correct way to do this?</p>