cessua
08-26-2005, 10:06 AM
I have defined the evironment variable:
CAD_SERVER = SVCHP5
In my method I can get to work this variable in vbscript:
Dim command_target_server As String = "http://SVCHP5/cgi-bin/cad_doc/trustexec"
But when i try to use it with the environment variable it doesn't work:
Dim command_target_server As String = "http://%CAD_SERVER%/cgi-bin/cad_doc/trustexec"
SVCHP5 is a Unix server, but the VBScript sits on a Windows server.
Do you have any advice on this?
Thanks,
CAD_SERVER = SVCHP5
In my method I can get to work this variable in vbscript:
Dim command_target_server As String = "http://SVCHP5/cgi-bin/cad_doc/trustexec"
But when i try to use it with the environment variable it doesn't work:
Dim command_target_server As String = "http://%CAD_SERVER%/cgi-bin/cad_doc/trustexec"
SVCHP5 is a Unix server, but the VBScript sits on a Windows server.
Do you have any advice on this?
Thanks,