We can use Enviroment Variables for transfer theese parameters.
Btgore transfer set variable in command line
SET param1=His name is "Bond"
In script read this parameter from enviroment vaiable
Set objShell = WScript.CreateObject("WScript.Shell")
Set oEnvVars = objShell.Environment("Process")
Wscript.Echo oEnvVars("param1")
That all.
No comments:
Post a Comment