tmp is a temporary file generated by various software or systems, which is often referred to as a junk file. Usually, programs that create temporary files delete them when they are finished, but sometimes these files are retained. There may be many reasons why temporary files are retained: the program may be interrupted before completing the installation, or crash during restart; these files generally have little use value, and we can delete them directly.
The operating environment of this tutorial: Windows 7 system, Dell G3 computer.
tmp is the abbreviation of temporary, which is a temporary file generated by various software or systems, which is often referred to as a junk file. Temporary files generated by Windows are essentially the same as virtual memory. However, temporary files are more targeted than virtual memory and serve a certain program alone. This leads to two problems: one is that it takes up space, and the other is that it causes problems after deletion. Risk of program failure.
Temporary files: Created when you download and install uninstall software, open files in email and instant messaging programs, or transfer files. Usually, programs that create temporary files delete them when they are finished, but sometimes these files are retained. Temporary files may be retained for a variety of reasons: the program may be interrupted before completing the installation, or it may crash on restart. Temporary files are also created when you surf the web. Web browsing programs like Internet Explorer also save caches of web pages on your hard drive to speed up future browsing.
Over time, these discarded temporary files (which can be quite large) can take up a lot of hard drive space, accumulate hard drive fragmentation, and reduce system performance.
Tmp file cleaning method
Quick cleaning will generate quite a lot of junk files during the installation and use of Windows, including temporary files (such as: *.tmp, *._mp) log files (*.log), temporary help files (*.gid), disk check files (*.chk), temporary backup files (such as: *.old, *.bak) and other temporary files. [1] The steps are very simple, just two steps:
(1) Create a new notepad, copy the following text into it, click "Save As", select "Desktop" for the path, and set the save type to "All Files" , the file name is "Clear System.bat", and it is complete. Note that the suffix name must be .bat.
(2) Run it as an administrator to clean up junk files very quickly, in less than a minute. If you do not run it as an administrator, access may be denied.
For more related knowledge, please visit the FAQ column!
The above is the detailed content of What file is tmp. For more information, please follow other related articles on the PHP Chinese website!