title: How to run Jscript Script file on Task Scheduler Windows Script Host
body: <p>I try to run this doit.js Javascript on Task Scheduler on windows 7</p>
  
  <p>When I execute manually, I meant without using task Scheduler, This script is working. </p>
  
  <p>When I execute manually/click. there are windows said "Windows Script Host" and also appreared the icon of windows script Host in the bottom of screen.</p>
  
  <p>Therefore, I assume that cscript.exe or wscript.exe  </p>
  
  <p>Right Click the task, Click Properties---> Click "Action" ---->Click "Edit"</p>
  
  <p>I browse in "Program/Script"</p>
  
  <p>C:\Windows\System32\cscript.exe </p>
  
  <p>or </p>
  
  <p>C:\Windows\System32\wscript.exe</p>
  
  <p>I tried both and</p>
  
  <p>I Copied and Pasted in "Add argument(optional)"</p>
  
  <p>C:\Users\km\Desktop\AzureProject\doit.js</p>
  
  <p>but it is not working, How can I set in Task Scheduler to run this script?</p>