8

I had 20 saved files and 5 unsaved files in Notepad++, while working.

I restarted Windows 10 and started Notepad++.

Notepad++ is now empty. Previous session is not there.

I gone to AppData/Notepad++/backup folder. The files are there.

How can I bring back the previous session please in proper way?

Notepad++ 7.2.1, Windows 10

Session.xml is like this:

<NotepadPlus>
    <Session activeView="0">
        <mainView activeIndex="0" />
        <subView activeIndex="0" />
    </Session>
</NotepadPlus>
  • Maybe you need to visit this page. – RoCk RoCk Nov 23 '16 at 7:04
1

For versions 6.6+ you need to CHECK -"Remember the current session for next launch" on Settings -> Preferences -> Backup.

pic1

For older versions you need to CHECK - "Remember the current session for next launch" on Settings -> Preferences.

pic2

If it's check, Try finding the recovery folder of Notepad++. On my XP machine (If it exist in your PC), it is at

C:\Documents and Settings\<user account name>\Local Settings\Temp\N++RECOV

The path may start differently in other versions of Windows.

credit

I would suggest to use Visual Studio Code

  • Thanks. I have Notepad++ 7.2.1. Setting is already checked. Backup folder is there. No N++RECOV folder though. Updated question. – Jessia Nov 23 '16 at 8:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.