title: How can a batch file receive two values from a VB Script?
body: <p>The VB script takes one parameter as input. Is it possible to enter two parameters? Also could I use drop down list as well in the below script?</p>
  
  <pre><code>@echo off
  
  &gt; usermessage.vbs ECHO WScript.Echo InputBox( "Enter parameter1", "para1", "xxxxxxxx" )
  FOR /F "tokens=*" %%A IN ('CSCRIPT.EXE //NoLogo usermessage.vbs') DO SET para1=%%A
  
  ECHO para1= %para1%
  
  DEL usermessage.vbs
  </code></pre>