78

I had to immediate shut down, and I lost about 20 unsaved tabs, is there any way to recover these?

kels
  • 5

3 Answers3

102

Is there any way to recover unsaved files?

Notepad++ will autosave if configured to do so.

  • The default "Backup path" is %APPDATA%\Notepad++\backup (or <Notepad++ install directory>\backup). Look in this directory for any backup files.

  • Goto menu "Settings" > "Preferences" > "Backup" tab to see your configuration.

  • If "Enable session snapshot and periodic backup" has been checked then there will a "Backup path" configured.

enter image description here


When was the "Session snapshot and periodic backup" feature introduced?

In version 6.6.x:

As a reminder, the main feature of v6.6.x is Session snapshot & periodic backup - user won't be asked to save unsaved file as he quits Notepad++, and on startup Notepad++ restores the unsaved file and unsaved untitled document of last session. Such periodic backup of unsaved files will protects your data from the PC crashing or power outage.

You can always turn off this feature to get back the old behaviour: http://notepad-plus-plus.org/assets/images/sessionSnapshot.png

Source Notepad++ 6.6.2 released

ndemou
  • 1,280
  • 1
  • 13
  • 21
DavidPostill
  • 162,382
49

I had also lost my one notepad++ file but I was able to recover that file from following location:

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

I am using Windows 7.

Meraqp
  • 591
20

In case if Notepad++ was not able to create the backup file and had crashed, it tries to create the *.dump files that could be found at the following path:

C:\Users\<windowsusernamehere>\AppData\Local\Temp\N++RECOV\
kels
  • 5
Yawar
  • 301