Setting the Windows Temporary Directory (All Windows) Popular
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.
>> Recommended Download - check, repair and optimize your registry now with Registry Mechanic <<
Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.
Last modified: October 17, 2000
| More Guides » | Security Guide | Support Forums | Software Guide | Scripting Guide | Search |


