Re: Changing Temp folder

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



go to Control Panel, System, Advanced tab, Environment Variables button
You'll see the top half representing TEMP and TMP variables for the
currently logged on user and the bottom half has them defined (somewhere in
the list) for the system.
Select the variable who's assigned value you want to change, click Edit and
type the location you want to use for it.
It doesn not have to be a location in the form %USERPROFILE%\etc..
It can be any valid location you want.
This holds true for both sets.
So for the System ones you could easily give it a value of d:\temp.
This action effectively changes their values in the registry.
You need to restart for the new values to be taken into account.

hth

george


"sulk" <sulk@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:D4B956BA-44D9-45F0-81FC-C2FDF2C6A734@xxxxxxxxxxxxxxxx
> Changing the variables sounds like it is a great thing to do, and would
> solve
> this problem, but how would I go about doing that?
> Are there some values in the registry which have them?
> That sounds like the best thing to do in this
> case., but if I were to do that, that would mean that it would store
> everything in %USERPROFILE%, and system on another drive, is there a way
> to
> just move where it keeps the temp folder? Drive mounting sounds as it
> might
> help, but I'm not sure on that. Thanks again
>
>
> "george" wrote:
>
>>
>> "sulk" <sulk@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:E76283E2-DEAB-4477-8E2A-50815C1A53FB@xxxxxxxxxxxxxxxx
>> > I've looked around, and I can't seem to find out how to change it. I'm
>> > pretty
>> > sure you can, but I'm not 100% sure on this. The reason is that I've
>> > installed XP many times, on a sperate partition, and each time it gets
>> > full,
>> > started with a 3 gig, moved to 5, and now i have it installed on a 7gig
>> > partition with only 500mb free. The page file is on another drive, so
>> > if i
>> > could change the windows tempory folder i could get more space, and
>> > actually
>> > install large programs and such.All data, and installed programs are on
>> > their
>> > own drives, so they're aren't taking up space on the system drive. Any
>> > help
>> > would be nice, thanks.
>>
>> as you probably already know, there are some environment variables that
>> deal
>> with this.
>> notably the variables TEMP end TMP and they exist both for SYSTEM and
>> USER.
>> Now the SYSTEM ones refer to %SystemRoot%\TEMP whereas the USER ones
>> refer
>> to %USERPROFILE%\Local Settings\Temp.
>> You could change those references to where ever you want to point them
>> to.
>> Keep in mind that environment variables are evaluated (attributed) in the
>> order:
>> 1. system
>> 2. autoexec.bat
>> 3. user
>> and this is especially significant if the same variable(name) is defined
>> in
>> more than one place, like for TEMP and TMP.
>> this will result in the variable effectivly having the value from the
>> 'last'
>> intance it was attributed, ie. user.
>>
>> you could (and probably already have done) also search the registry for
>> any
>> references to TEMP and TMP and change them according to your wishes to
>> also
>> create the initial, default setting for any new useraccount you create,
>> so
>> the variables will initially point to your preferred location.
>>
>> hth
>>
>> george
>>
>>
>>


.



Relevant Pages

  • Re: Changing Temp folder
    ... > install large programs and such.All data, ... > own drives, so they're aren't taking up space on the system drive. ... notably the variables TEMP end TMP and they exist both for SYSTEM and USER. ...
    (microsoft.public.windowsxp.setup_deployment)
  • RE: Office 2007 Install Error 2203
    ... I check the locations of tmp in "Advanced Settings/Environment Variables" ... TEMP %HOMEDRIVE%\TEMP ... Since I can't see the actual assignment in the environment variables box ... left over SID from the initial installation of VISTA RC, ...
    (microsoft.public.office.setup)
  • Re: Check the temp enviroment variable
    ... I have see my TEMP and TMP location point to C:/TEMP. ... "Susan Ramlet" wrote: ... It's identified by TEMP or TMP in the environment variables ...
    (microsoft.public.office.misc)
  • Re: Changing Temp folder
    ... >> install large programs and such.All data, ... >> own drives, so they're aren't taking up space on the system drive. ... > notably the variables TEMP end TMP and they exist both for SYSTEM and USER. ...
    (microsoft.public.windowsxp.setup_deployment)
  • Re: TEMP vs TMP
    ... >I've heard that two environment variables, TEMP and TMP, should be set ... On an older machine of mine, my autoexec.bat sets TEMP ... >to a subdirectory of a RAM disk, and TMP is not set. ... and it had its origin with Unix (Unix uses TMP ...
    (comp.os.msdos.misc)