Temp Files
Many applications need to store data on a temporary basis. To do this, temporary files are created and stored in the same directory. All temp files have the extension .TMP and are usually found in the Windows/Temp directory. This directory can be changed at any time by adding the statement SET TEMP=<PATH> to the AUTOEXEC.BAT file.
It is a good idea to periodically clean out the temp files by deleting them. Be careful when doing this, because one or more of them might be in use. In general, as long as you delete any temporary files created before the current computer session, they will not be in use. There are two ways to automatically remove temporary files. One is to create a batch file to delete the contents of the temporary directory and run it from the AUTOEXEC.BAT file. The other is to create a RAMDrive and store the temporary folder in that drive.
To make a RAMDrive, and command Windows to save all temp files to the RAMDrive, add the following to the AUTOEXEC.BAT file:
NOTE
Which drive letter you use depends on the system and which drive letter is the next available.