Notepad++ cached files location

2020-05-11 11:24发布

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

3条回答
狗以群分
2楼-- · 2020-05-11 11:30

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
查看更多
淡お忘
3楼-- · 2020-05-11 11:33

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
4楼-- · 2020-05-11 11:45

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.

查看更多
登录 后发表回答