Environment Varibles per user

  • Thread starter Thread starter Chris DeFreitas
  • Start date Start date
C

Chris DeFreitas

Hello,

This may be a dumb question but is there anyway to setup a script so that
when a user logs in it will set the environment varible unique to there
username? I am working with a Windows 2003 terminal server.

Thanks,
Chris DeFreitas
 
sure... I use KIX a ton to do simple things like that. BUT you can use a CMD
login script or VBS if you want to have some fun.

Now to do it by USERNAME. then you just need to poll for %USERNAME% in the
script. then based on that SET the env variable.

In KIX I would most likely use a select case function for this because it
will process faster than a ton of IF THENs
 
Back
Top