• Login
Community
  • Login

Last opened files not opening

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
7 Posts 4 Posters 2.8k 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.
  • N
    Nelson Chan
    last edited by Apr 8, 2020, 5:30 AM

    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?

    E A 2 Replies Last reply Apr 8, 2020, 9:55 AM Reply Quote 0
    • E
      Ekopalypse @Nelson Chan
      last edited by Apr 8, 2020, 9:55 AM

      @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?

      N 1 Reply Last reply Apr 8, 2020, 11:34 PM Reply Quote 0
      • A
        Alan Kilborn @Nelson Chan
        last edited by Apr 8, 2020, 12:01 PM

        @Nelson-Chan

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

        N 1 Reply Last reply Apr 8, 2020, 11:35 PM Reply Quote 0
        • N
          Nelson Chan @Ekopalypse
          last edited by Apr 8, 2020, 11:34 PM

          @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
          • N
            Nelson Chan @Alan Kilborn
            last edited by Apr 8, 2020, 11:35 PM

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

            P 1 Reply Last reply Apr 9, 2020, 1:55 PM Reply Quote 0
            • P
              PeterJones @Nelson Chan
              last edited by Apr 9, 2020, 1:55 PM

              @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

              N 1 Reply Last reply Apr 10, 2020, 3:45 AM Reply Quote 2
              • N
                Nelson Chan @PeterJones
                last edited by Apr 10, 2020, 3:45 AM

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