Re: Changing Temp folder

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




"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
    ... go to Control Panel, System, Advanced tab, Environment Variables button ... You'll see the top half representing TEMP and TMP variables for the ... >>> own drives, so they're aren't taking up space on the system drive. ...
    (microsoft.public.windowsxp.setup_deployment)
  • 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: cant install Active Sync on thinkpad
    ... The enviornment variables for my user didn't have a temp folder. ... set both temp and tmp, ... "Gene" wrote: ... The install gets to the temp directory window, ...
    (microsoft.public.pocketpc.activesync)
  • Re: Raid 1
    ... You could set up a temp Windows install on a temp partition on one of the ... You would be best to disconnect the two current drives and boot off CD to ...
    (microsoft.public.backoffice.smallbiz2000)
  • Re: running tclhttpd on windows XP
    ... I wish someone would add a comment to the INSTALL or some other document. ... > First it looks for environment variables TMPDIR, TEMP and TMP. ...
    (comp.lang.tcl)