I know that you can use something like:
$variable = "value 1"
cscript test.vbs $variable
but how exactly do you capture that variable inside the vbs script? Thanks.
I know that you can use something like:
$variable = "value 1"
cscript test.vbs $variable
but how exactly do you capture that variable inside the vbs script? Thanks.
WScript.Arguments is a good way to go. Another option is to use a WSF file to put a bit more structure around your script.