i am using vbscript to call a batch file. my script looks like:
dim shell
set shell=createobject("wscript.shell")
shell.run "a.bat"
set shell=nothing
my batch file is simple and looks like:
D:
cd D:\d
winzip32.exe -min -a D:\a
i want to pass a variable from a script to the batch file. lets say the destination folder.
how do i do that?
any help is very much appreciated.