I don’t know if you have noticed that when we edit a Word document, a temporary file starting with $~ will be generated. What is a temporary file? As the name suggests, it is used to temporarily store information. The created file will be automatically deleted after we close Word.
Why create temporary files?
Before introducing relevant knowledge, we must understand why this file is created. Because a large amount of memory will be occupied when the document is saved and edited, and some operations are still being performed quickly (such as sorting, dragging, scrolling, etc.) while other applications are running, Word will replace the unused part of the code. Or the unedited portion of the document is moved from memory to disk. The purpose is to release memory. People who know IT will not know the importance of memory.
Where are Word temporary files saved?
For Windows XP system, the path where temporary files are saved is: C:\Documents and Settings\Administrator\Application Data\Microsoft\Word\ where "Administrator" represents the user name.
In Windows 7 system, the path is: C:\Users\Administrator\AppData\Roaming\Microsoft\Word.
The use of temporary files
For Word documents that are lost and cannot be retrieved, in this case, we can restore the document through temporary files. First search for the temporary file from the computer. You can use Ctrl F. If you don’t remember the name, enter *.TMP. After you find it, restore the file through a professional website or attack, and then it will be fine.
For more Word-related technical articles, please visit the Word Tutorial column to learn!
The above is the detailed content of Where are word temporary files?. For more information, please follow other related articles on the PHP Chinese website!