Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you set Environment Variable in login script?
Message
General information
Forum:
Windows
Category:
Terminal Server
Miscellaneous
Thread ID:
00774559
Message ID:
00776246
Views:
18
this line of code creates an environment variable named MyVariable, with the initial value 0:

colUsrEnvVars("MyVariable") = 0

see:

http://www.microsoft.com/technet/treeview/default.asp?url=/technet/scriptcenter/scrguide/sas_wsh_kmmj.asp

>Trying to add a line to our users login script in Windows 2000 server to automatically add an Environment Variable “TERMID=T10”.
>
>In DOS we added it to Autoexec.bat “SET TERMID=T10”.
>
>In Windows 2000 or XP we have to go to control panel, system, advanced, environment variables and add it to the user or system manually on each terminal or terminal services session.
>
>Having over 80 users on a network using Terminal Services makes it very time consuming.
>
>How can I add a line to my user login script to automatically set “TERMID=T10”?
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Reply
Map
View

Click here to load this message in the networking platform