Setting up a environment variable in citrix

V

viv7

I have about 200 users using a published application in citrix. I want
to set some kind of environment variable (e.g. an ID) so that each user
will have a unique ID.

I am not sure where to do this? I am not sure which script to edit to
set the variable.

Each user has their own profile under C:/documents and settings on the
citrix server.

any tips?
 
P

Pegasus \(MVP\)

viv7 said:
I have about 200 users using a published application in citrix. I want
to set some kind of environment variable (e.g. an ID) so that each user
will have a unique ID.

I am not sure where to do this? I am not sure which script to edit to
set the variable.

Each user has their own profile under C:/documents and settings on the
citrix server.

any tips?

The usual way is to use the user's logon name, which is
already accessible as %UserName%. Adding yet another
variable creates IMHO more work and more complexity.

If you still want to set up such a variable then you can run
setx.exe or setenv.exe in your logon script. It will set a
variable that is valid for all processes launched during the
current and all future sessions.
setx.exe (Win2000 Resource Kit)
setenv.exe (ftp://barnyard.syr.edu/pub/vefatica/setenv.exe)
 
V

viv7

Thank you for the reply. I am just wnodering will you know where the
login script normally sits? I asked my manager and he has no idea....
 
V

viv7

I found usrlogon.cmd which everyone uses. I can set the variable here.
BUt it is global or same to everyone. Anyone know how to set a variable
that is specific to each user? ::(
 
P

Pegasus \(MVP\)

viv7 said:
I found usrlogon.cmd which everyone uses. I can set the variable here.
BUt it is global or same to everyone. Anyone know how to set a variable
that is specific to each user? ::(

Type setx.exe at the Command Prompt to see its
options. You can set a switch to set the variable
either globally or make it user-specific.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top