I regularly delete my TEMP and TMP files. Windows is generally pretty good at keeping it clean, but on occasion it will build up on you and affect performance.
Recently, I moved my TEMP and TMP directories to another drive entirely because it was affecting space on my main HD. If you have extra drives, I definitely recommend it.
There are two ways to do it:
FIRST WAY
---------
1a) Drop to DOS. At your prompt, type
SET. This will bring up your global variable configurations. You should see something in the list like:
TMP=C

WINDOWS\TMP
TEMP=C

WINDOWS\TEMP
This tells you the current location of your temporary directories.
1b) Then use the SET command to change it to wherever you like. For instance, I used the following to move it to the TEMP directory on my D drive.
SET TEMP=D
TEMP
SET TMP=D
TMP
1c) Type SET again to see if your variables have taken effect.
SECOND WAY
----------
2a) The Win95 cd-rom contains a program called Winset.exe which is normally designed to effect global variables in WinNT but works the same in Win95. Syntax for using this app is the same as the SET command.
- Insert the CD and copy the app from the Admin\Apptools\Envvars directory onto your HD,
- Click your Start button, and then Run button,
- Type the following in that command line:
winset temp='LOCATION OF NEW TEMP DIR'
- Click OK.
I have found this option very very useful as I use Photoshop, Corel PPT and other programs which make heavy use of the TEMP directory. It had gotten to the point where I couldn't even scan normal photos in because it would fill the temp directory so fast. Having moved those dirs to a very open drive, and a much faster drive since its newer, I haven't had a single problem, and have noticed a increase in performance when using those more intensive programs.
Remember, its your choice to move the directory. Just thought this topic would be nice to throw that info out for anyone interested.
[This message has been edited by Shalazar (edited 01-30-00@4:39 pm)]