SoFunction
Updated on 2025-03-09

Analysis of the difference between TMP, TEMP and TMP files

When using Windows operating system, you may often find some files with the suffix name TMP in the root directory of the C drive, and also find a TEMP directory in the Windows directory. Some users who are new to computers may find it inexplicable. What is this from? I have never created such a file!

In fact, this is a temporary file generated by Windows. It is essentially no different from virtual memory, except that temporary files are more targeted than virtual memory and serve a program separately. Also, if you use WORD to edit documents, you will also find a batch of files at the beginning and end of TMP in the WORD installation directory. These are temporary files generated by WORD. However, if your WORD has not been closed and you want to delete them, you may find that you cannot delete them no matter what. The system repeatedly prompts read and write protection. So what should I do? Let’s talk about these temporary documents and their processing methods:

Generally speaking, when you are currently running large tool software, you should not touch temporary files. For example, Photoshop will generate huge temporary files when processing graphics. If you think this is not an attempt to delete the file you created, it may cause Photoshop to crash. If you do not run the program at present, the temporary files you find can be deleted to avoid them from being piled up over time and occupying disk space is still a small matter. The key is that they are numerous and scattered, which will cause unnecessary time consumption to disk scanning and sorting, and may also cause confusion in file allocation tables and lead to file cross-link errors. But all temporary documents cannot be generalized.

For example, the TEMP directory of the root directory of the C disk is the directory to which many tool programs have temporary files. Without this directory, temporary files cannot be created, and these tool software may make errors. Therefore, if you want to delete it, you should only clear the temporary file garbage inside, and you cannot kill the TEMP directory. There is usually a TEMP file in Windows, which is the default temporary file placement place for the system. It is not recommended to delete the directory, and you can clean the garbage inside regularly.

There are also temporary files in the WORD installation directory. When you use WORD, do not delete them. These files at the beginning and end of TMP are used for WORD program work. They are mostly in read-write protection state, and you cannot delete them even if you want to delete them. If you crash when using WORD, don't delete them first when you boot up and enter Windows next time you start the computer. WORD should open it. WORD will read the latest saved results from these temporary files, allowing you to restore the last work to the greatest extent. In fact, this is the principle of WORD recovering the last document. It's not too late to delete them after you save the files.

Under what circumstances should TEMP files be deleted? That is, when the program is not running in the background, and the same phenomenon and failure occurs repeatedly, and it is confirmed that it is not caused by the system hardware, such as if the problem is printed, the printer always refuses to recognize your paper, and always prompts you that you have not put the paper, you should delete the files in TEMP in the Windows directory; and there is also a cross-link error in the disk scanning, which cannot be automatically corrected. You should try to delete the temporary file and scan it again. Note that some temporary files in the WORD installation directory are hidden. You may need to use special tools to clean temporary files to delete them. Otherwise, you will get all files displayed in the directory first and then delete them manually.