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 45 Views
    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
      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
        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
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors