#31217 - 2002-10-22 08:19 PM
Environment Variables
|
str1der
Fresh Scripter
Registered: 2002-10-07
Posts: 33
Loc: Cincinnati
|
Does an environemt variable get passed to a kix script. For instance if I set a variable in a batch file that then calls a kix script can the variable be referred to in the script? Thanks.
|
|
Top
|
|
|
|
#31222 - 2002-10-22 08:51 PM
Re: Environment Variables
|
str1der
Fresh Scripter
Registered: 2002-10-07
Posts: 33
Loc: Cincinnati
|
Thanks. I just want to pass a variable like Citrix=True from the batch file we use to launch a citrix session.
|
|
Top
|
|
|
|
#31224 - 2002-10-24 05:38 PM
Re: Environment Variables
|
str1der
Fresh Scripter
Registered: 2002-10-07
Posts: 33
Loc: Cincinnati
|
I'm not the Citrix guy so maybe I didn't state that correctly. First they logon to the network (running full script), then they launch a citrix session. When they launch the citrix session a variable gets set. (MF=TRUE). If MF=TRUE in the script it exits before a lot of garbage is run again. Also what would be the exact syntax for the IF statment in KIX. Would it be something like this?
If %MF% = "TRUE"
EXIT ENDIF
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 764 anonymous users online.
|
|
|