Community
    • Login

    Last opened files not opening

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    7 Posts 4 Posters 2.7k 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.
    • Nelson ChanN
      Nelson Chan
      last edited by

      Hi,
      I don’t know what I’ve done but when I restart Notepad++ the files/tabs that I had opened are not opened instead an older set of files/tabs are opened. How can I fix this?

      EkopalypseE Alan KilbornA 2 Replies Last reply Reply Quote 0
      • EkopalypseE
        Ekopalypse @Nelson Chan
        last edited by

        @Nelson-Chan

        How can I fix this?

        Hard to say without the information what exactly was done.
        Can you post your debug info, which is available from the ? menu?

        Nelson ChanN 1 Reply Last reply Reply Quote 0
        • Alan KilbornA
          Alan Kilborn @Nelson Chan
          last edited by

          @Nelson-Chan

          Maybe you had a crash or restart in the interim? Notepad++ only saves the information on the session on successful exit, so…

          Nelson ChanN 1 Reply Last reply Reply Quote 0
          • Nelson ChanN
            Nelson Chan @Ekopalypse
            last edited by

            @Ekopalypse here you are thanks
            Notepad++ v7.8.1 (32-bit)
            Build time : Oct 27 2019 - 22:46:07
            Path : C:\Program Files\Notepad++\notepad++.exe
            Admin mode : OFF
            Local Conf mode : OFF
            OS Name : Windows 10 Enterprise (64-bit)
            OS Version : 1909
            OS Build : 18363.592
            Plugins : CodeAlignmentNpp.dll ComparePlugin.dll FingerText.dll mimeTools.dll NppConverter.dll NppExport.dll NPPJSONViewer.dll NppSnippets.dll NppTextFX.dll

            1 Reply Last reply Reply Quote 1
            • Nelson ChanN
              Nelson Chan @Alan Kilborn
              last edited by

              @Alan-Kilborn even if I close it myself on start up it still picks up a different set of files?

              PeterJonesP 1 Reply Last reply Reply Quote 0
              • PeterJonesP
                PeterJones @Nelson Chan
                last edited by

                @Nelson-Chan,

                @Alan-Kilborn even if I close it myself on start up it still picks up a different set of files?

                Make sure you only have one Notepad++ instance open. Make sure Settings > Preferences > Backup enables “Remember current session for next launch”.

                Load the right set of files; open a Windows file explorer to %AppData%\Notepad++ (you can paste that into the Explorer location bar); look at the last-modified date of session.xml. Close Notepad++. Look at the last-modified date of session.xml again – it should be brand new. If you look at the contents of session.xml in windows notepad.exe, it should show the right set of files. When you open Notepad++ again (with no special command line arguments), it should open with the previous session.

                If that’s not what happened, then redo the sequence, taking screenshots along the way, and paste those screenshots in your reply (make sure there is no private/sensitive data in the screenshots) – if the image is in your clipboard, a standard paste will embed the image, or you can click the upload image button in the post edit toolbar to upload an image file from your computer:
                e653034b-dbeb-4ec9-9960-4d5a98323df3-image.png
                from
                fc84b863-ecbe-46a6-8e04-0549a20d91c2-image.png

                Nelson ChanN 1 Reply Last reply Reply Quote 2
                • Nelson ChanN
                  Nelson Chan @PeterJones
                  last edited by

                  @PeterJones I checked the flag and it was already on so i clicked it off and back on and restarted NP++ and lo and behold it’s back to normal now!
                  Thanks for your help.

                  1 Reply Last reply Reply Quote 3
                  • First post
                    Last post
                  The Community of users of the Notepad++ text editor.
                  Powered by NodeBB | Contributors