forum

Home / DeveloperSection / Forums / How can a batch file receive two values from a VB Script?

How can a batch file receive two values from a VB Script?

Anonymous User399720-Jun-2013
Hi Expert,

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?

@echo off

> 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

Thanks in advance for any recommendations or solutions.

Updated on 20-Jun-2013
I am a content writter !

Can you answer this question?


Answer

1 Answers

Liked By