How does Notepad++ retrieve files that automatically save cached contents
This article mainly introduces how Notepad++ automatically saves the cache content of the file, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor with you to understand.
Scene:
When using Notepad++, there is a very convenient auto-save function, that is, after you create a new document, enter your content, before you do not save manually, Notepad++ will help you save the current content.
Exit Notepad++, when you don't save it. Next time you come in, Notepad++ will automatically display the content you edited last time so that you can continue editing. Unless you manually close the current page, Notepad++ will delete the automatically saved content. (this feature may not be available in lower versions of Notepad++)
Question:
Notepad++ will automatically save the file address in a session.xml file, if you are unlucky to use garbage cleaning software such as 360, you will accidentally erase this file, then the next time you open Notepad++, congratulations, you will not see all the files you edited last time.
Resolve:
Through the garbage cleaning software, we can know that the files that have been cleaned up are
C:\ Users\ Administrator\ AppData\ Roaming\ Notepad++\ session.xml
It records the location of the cache file, after opening, if you do not see the file address, it is because you have no content to be cached by Notepad++, open Notepad++, new document, casually enter something, you can see the address.
In fact, the address is
C:\ Users\ Administrator\ AppData\ Roaming\ Notepad++\ backup
The files inside are your auto-saved cache files.
Thank you for reading this article carefully. I hope the article "Notepad++ how to find the files that automatically save cached content" shared by the editor will be helpful to you. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!