i am very new towards batch programming and vbscripting
i wanted to pass a variable from vbscript to a batch file. here is my vbscript code:
Dim shell,a
a="Hello World"
set shell=createobject("wscript.shell")
shell.run "test.bat a"
and below here is my batch file:
@Echo off
echo %1
PAUSE
the result i wanted to echo out is "Hello World" but instead "a" is echo out