title: Returning value from VBscript to Batch file without WScript.echo
body: <p>I am trying to pass variable from VBscript to batch file for further usage. Since this value is a password, I dont want it to be echoed for security reasons!</p>
  
  <p>Code of VBScript: </p>
  
  <pre><code>...
  'after the above procedure, password has to be passed to batch file 
  WScript.echo password
  </code></pre>
  
  <p>code for batch file:</p>
  
  <pre><code>FOR /F "usebackq tokens=*" %%r in (`CSCRIPT "D:\PasswordCreation.vbs"`) DO SET PASSWORD=%%r
  ECHO %PASSWORD%
  Pause
  </code></pre>
  
  <p>This stores the password in variable PASSWORD but the VBscripts pops out the password because of WScrip.echo password. Can i pass this password Without echoing? Is there some other command for that?</p>