title: 'cscript' is not recognized inside a batch
body: <p>I need to call a .bat that calls a .vbs. When i run FindDir.vbs from command prompt is ok, but when i try to call it from CallingVbs.bat i got the error message. </p>
  
  <p>'cscript' is not recognized as an internal or external command. </p>
  
  <p>The code i'm using to call .vbs  is the same to .bat and to command prompt.</p>
  
  <pre><code>cscript FindDir.vbs
  </code></pre>
  
  <p>Both files are in same folder. 
  I do not understand why cscript command works in command prompt but not in .bat. Could anyone explain me why it happens? </p>
  
  <p>Thanks</p>