Notepad++ cached files location

CachingFilesystemsNotepad++

Caching Problem Overview


On the most recent versions of Notepad++, when the application is closed, unsaved files are maintained when the application is restarted.

I presume that those files are cached on a temporary files. What is the location of that file(s).

Thank you

Caching Solutions


Solution 1 - Caching

I noticed it myself, and found the files inside the backup folder. You can check where it is using Menu:Settings -> Preferences -> Backup. Note : My NPP installation is portable, and on Windows, so YMMV.

Solution 2 - Caching

I lost somehow my temporary notepad++ files, they weren't showing in tabs. So I did some search in appdata folder, and I found all my temporary files there. It seems that they are stored there for a long time.

C:\Users\USER\AppData\Roaming\Notepad++\backup

or

%AppData%\Notepad++\backup

Solution 3 - Caching

I have discovered that NotePad++ now also creates a subfolder at the file location, called nppBackup. So if your file lived in a folder called c:/thisfolder have a look to see if there's a folder called c:/thisfolder/nppBackup.

Occasionally I couldn't find the backup in AppData\Roaming\Notepad++\backup, but I found it in nppBackup.

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionRedEagleView Question on Stackoverflow
Solution 1 - CachingVaneikView Answer on Stackoverflow
Solution 2 - CachingRudolphView Answer on Stackoverflow
Solution 3 - CachingclayRayView Answer on Stackoverflow