Change the default temp directory

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi: Hope someone can hekp with this..

My C: drive is getting pretty packed, and I recently bought a 60 gig drive
as an addition.
I'm trying to install a new app and keep getting the "Out of Space" error
when it's setting up temp install files - it's trying to install these to the
default directory (eg C:\Documents and Settings\User X\Local Settings\Temp

Is there any way I can change this so that my new app uses my NEW hdd (ie E:
drive) to store its temporary files?
 
Open a command window, some call it a DOS-box. Type the word SET and press
[Enter]. Look for the environment variable TMP and TEMP. They most likely
point to the ...\Local Settings\Temp directory. If you want it to point to
say D:\TEMP all you have to do is to change the environment variables in
Configuration>Hardware>Advanced after which you have to reboot.
Good luck, Opa.
 
My C: drive is getting pretty packed, and I recently bought a 60 gig drive
as an addition.
I'm trying to install a new app and keep getting the "Out of Space" error
when it's setting up temp install files - it's trying to install these to the
default directory (eg C:\Documents and Settings\User X\Local Settings\Temp

Is there any way I can change this so that my new app uses my NEW hdd (ie E:
drive) to store its temporary files?

Right click on My Computer and select Properties. Go to the Advanced tab
and click the Environment Variables button. There will be two sets of
variables, user and system. Under both, double click the entries for TEMP
and TMP to change their values. Set the value to a folder on your E drive
(ex: E:\temp). Note, make sure you have created the directory on E.
Click OK once done with the changes. Reboot to make sure everything picks
up the change. Note that this will not move any files in your current temp
directory. After the reboot, you can delete the files in the temp
directory on C as those are no longer used.
--
Tom Porterfield
MS-MVP Windows
http://support.telop.org

Please post all follow-ups to the newsgroup only.
 
Hi: Hope someone can hekp with this..

My C: drive is getting pretty packed, and I recently bought a 60 gig drive
as an addition.
I'm trying to install a new app and keep getting the "Out of Space" error
when it's setting up temp install files - it's trying to install these to the
default directory (eg C:\Documents and Settings\User X\Local Settings\Temp

Is there any way I can change this so that my new app uses my NEW hdd (ie E:
drive) to store its temporary files?

Just a thought: It sounds like you're limited on drive space so the "out of
space" message may be literal.

However, "out of space" errors of the type that you describe can also mean
that there are leftovers in the temp folder that are getting in the way of
the current task. Emptying the temp folder and then retrying the install,
often resolves the situation.
 
Back
Top