title: How to launch cmd.exe to execute command using Task Scheduler ?
body: <p>I want to launch <strong>cmd.exe</strong> to execute command using <strong>Task Scheduler</strong> : </p>
  
  <p>Here is my command line : </p>
  
  <p><code>C:\wamp\bin\php\php5.5.12\php.exe -f "C:\Inetpub\wwwroot\php\index.php"</code></p>
  
  <p>This command will load a <strong>php.exe</strong> and run my <strong>php</strong> script from <code>C:\Inetpub\wwwroot\php</code></p>
  
  <p>Here is how I set up my task scheduler : </p>
  
  <p><img src="https://i.stack.imgur.com/ASFL3.png" alt="enter image description here"></p>
  
  <p>I am not sure - what to put in the Start in Box - plus since it's (optional) so I leave it blank.</p>
  
  <p>After save the task and hit run, I got this </p>
  
  <p><img src="https://i.stack.imgur.com/PPWFg.png" alt="enter image description here"></p>
  
  <p>It doesn't do anything.</p>
  
  <p>What did I do wrong - here ? </p>