Settings the Windows Temporary Directory

Posted On 2005-11-1 by FortyPoundHead
Keywords: Settings the Windows Temporary Directory (Windows 9x and NT)
Tags:  
Views: 1445


Depending on which version of Windows you run, temporary files are usually stored in C:\WINDOWS\TEMP. This tweak shows how to move the location of the temporary file directory.
Open up AUTOEXEC.BAT with a text editor, it is normally found at C:\AUTOEXEC.BAT. If you're run Windows 9x it maybe possible to right-click the file in explorer and choose 'Edit'.
Add two new lines, or modify the existing lines if they are already there, as follows:
SET TEMP=[directory]
SET TMP=[directory]
e.g. SET TEMP=C:\GARBAGE
Save AUTOEXEC.BAT, create the directory entered above and reboot


About the Author

has posted a total of 1974 articles.


Comments On This Post

No comments on this post yet!


Do you have a thought relating to this post? You can post your comment here. If you have an unrelated question, you can use the Q&A section to ask it.

Or you can drop a note to the administrators if you're not sure where you should post.


Your IP address is:54.81.71.219

Before you can post, you need to prove you are human. If you log in, this test goes away.


Code Links