title: windows 2008 task scheduler return code 1, no logging
body: <p>trying to run a simple batch file in windows 2008 task scheduler </p>
  
  <pre><code>call cleanup.bat &gt; cleanup.log;
  call ant -f ongoing_changes.xml &gt; automation.log
  </code></pre>
  
  <p>The action is triggered properly and from the History logs (7 information messages) this seems to be puzzling </p>
  
  <p>Task Scheduler successfully completed task "\Run regression" , instance "{edbd26d2-b71b-43d6-960f-29c31e39493c}" , action "C:\Windows\SYSTEM32\cmd.exe" with return code 1.</p>
  
  <p>Unfortunately nothings gets executed (as no logs are created), even if I trigger manually the task, of course the batch file runs fine if executed from OS.  If I don't use "call" in the batch file, then "return code 0" is presented, still nothing gets executed.</p>