title: hide cgi command window on windows php task schedule
body: <p>I was trying to set a windows task schedule for a php file and done that successfully.
  The problem is "<strong>C:\xampp\php\php.exe</strong>" that is the cgi exe for older versions of php5. But for newer versions it should be "<strong>C:\xampp\php\php-cgi.exe</strong>" and now my whole packet looks like this:</p>
  
  <p><strong>C:\xampp\php\php-cgi.exe -f "C:\xampp\htdocs....\file.php"</strong></p>
  
  <p>so building on that my questions are:</p>
  
  <ol>
  <li><p>when the script is running there the command window of the cgi exe always appears and disappears after half second or sth like. Is there a way to hide or disable the window?</p></li>
  <li><p>I read sth. about the <strong>php-win.exe</strong>. The source described it as without window appearing. So I tried it but the script do not run with the  <strong>C:\xampp\php\php-win.exe</strong>. </p></li>
  </ol>
  
  <p>Do you guys know what the problem could be?</p>