Community
    • Login

    Notepad++: Lost all open txt files and left panel after restart – how to recover them?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 213 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • CletosC Offline
      Cletos
      last edited by

      All the txt files, about 100, which were shown in the left panel in Notepad++ and also as tabs, are no longer displayed when I start Notepad++ the next time. The left panel is also not visible anymore, and the program starts, unlike before, in a small window.

      How could I get all the files to be displayed again (in the left panel or otherwise)? How could I find out which files those were?

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP Offline
        PeterJones @Cletos
        last edited by PeterJones

        @Cletos ,

        Depending on what version of Notepad++ you were running, and what’s happened since you last opened Notepad++:

        • Exit Notepad++
        • Use Windows Explorer to go %AppData%\Notepad++
        • You will have session.xml and hopefully a file called session.xml.inCaseOfCorruption.bak .
        • Rename session.xml to session.after.xml
        • Rename session.xml.inCaseOfCorruption.bak to session.xml

        Depending on the state, and how little you’ve done since you had the problem, and what version of Notepad++ you are running, that backup session might contain the ~100 txt files.

        If not (if there’s no session.xml.inCaseOfCorruption.bak , or if the copy there was written after your session got messed up), there is nothing we can do for you, as the backup session isn’t there. (Hopefully, those 100 txt files were all real files, not new 1 … new 100 with no saved changes ever – if they were, you can look in the backup subdirectory, but again, no guarantees the files are there).

        1 Reply Last reply Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors