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
This question is related to
caching
filesystems
notepad++
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.
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
Source: Stackoverflow.com