By far the best methody would be to put it into a policy (adm) template... POLICY "Set User Temporary Environment Variables" EXPLAIN "Sets the user TEMP and TMP environment variables. Useful for applications that cannot handle long path names or spaces." KEYNAME "Environment" PART "TEMP=" EDITTEXT VALUENAME "TEMP" DEFAULT "%USERPROFILE%\Local Settings\Temp" EXPANDABLETEXT END PART PART "TMP=" EDITTEXT VALUENAME "TMP" DEFAULT "%USERPROFILE%\Local Settings\Temp" EXPANDABLETEXT END PART END POLICY Cheers. Kind regards, Jeremy Saunders Senior Technical Specialist Infrastructure Technology Services (ITS) & Cerulean Global Technology Services (GTS) IBM Australia Level 1, 1060 Hay Street West Perth WA 6005 Postal: PO Box 525, West Perth WA 6872 Visit us at http://www.ibm.com/services/au/its P: +61 8 9261 8412 F: +61 8 9261 8486 P: (Reception) +61 8 9261 8420 E-mail: M: TBA jeremy.saunders@xxxxxxxxxxx "TSguy92 Lan" <tsguy92@xxxxxxxx m> To Sent by: thin@xxxxxxxxxxxxx thin-bounce@freel cc ists.org Subject [THIN] Re: Temp and Tmp variables 08/05/2007 07:54 AM Please respond to thin@xxxxxxxxxxxx g A traditional *.bat or *.cmd file running during login for users with a value of "SET Temp = C:\temp" will never translate into a new Temp path for your users. SET commands run from Dos (scripts) on windows NT hosts, only SET variables within the Dos window session they spawn from. As soon as that Dos window closes those SET commands are gone. Importing a predefined registry keys would do it - you would get them from "HKCU\Environment" Or Kix / VBS / WSH scripts would be able to define a temp variable for your folks during the login process. If you were to manually edit a user's temp path while they were logged in, it would effect for them when ever the explorer.exe process within their session was reset, or once they logged into the system again. HTH Lan On 5/7/07, Carl Stalhood <cstalhood@xxxxxxxxxxxxx> wrote: Are you doing it using a script? It is a per-user setting. If you are manually modifying the registry keys then 2 logons might be required for it to take effect. From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Michael Boggan Sent: Monday, May 07, 2007 2:38 PM To: thin list Subject: [THIN] Temp and Tmp variables I am trying to change the path for the temp and tmp variables for each user session on our servers. I know this is an easy change but for the life of me, nothing I do is working. Can anyone tell me what I am missing here. Thanks, Michael Boggan SBC SITES ONLY GOOGLE SEARCH: http://www.F1U.com ************************************************ For Archives, RSS, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: //www.freelists.org/list/thin ************************************************