How to move temp directory?

Emultra

Golden Member
Jul 6, 2002
1,166
0
0
When I try to, for example, install a game demo, my computer will try to temporarily unpack the contents of the install file to C: so the game can be installed. The problem is, my C: partition (where WinXP is installed) is permanently kept with quite little free HD space. This results in a "too little disc space" before the game can be installed and the temp files automatically removed.

How do I make it so that any such temp files are stored on my much larged D: partition instead?
 

cKGunslinger

Lifer
Nov 29, 1999
16,411
57
91
The temp directory is an environment variable. You should be able to right click on "My Computer" -> Properties -> Advanced -> Environment Variables.

Once there, replace both "TMP" and "Temp" with whatever directories you want. You might have to do it for the current user, and the system variables.