Community
    • Login

    How to get Notepad++ to close all files upon closing the program?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 3.1k Views 1 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.
    • Patrick ZonneveldP Offline
      Patrick Zonneveld
      last edited by

      I recently discovered Notepad++ and found it very handy, however it has one nasty habit. It keeps old files open upon closing the program, so that next time you open the program those files are open again. That’s not good!

      Initially I didn’t notice that, which resulted in “changes to all files” being processed in those old files as well. I only wanted them processed in the files which I had recently opened. Now I have to find a way to undo them in the files which were still open, but shouldn’t have been open.

      How do I set Notepad++ so that if it closes, it closes all files. Next time you open it, it should only open the files you open at that moment. Old files should not be opened.

      CoisesC 1 Reply Last reply Reply Quote 0
      • CoisesC Offline
        Coises @Patrick Zonneveld
        last edited by

        @Patrick-Zonneveld said in How to get Notepad++ to close all files upon closing the program?:

        How do I set Notepad++ so that if it closes, it closes all files. Next time you open it, it should only open the files you open at that moment. Old files should not be opened.

        From the menu bar, open Settings | Preferences…, select Backup on the left side, then uncheck Remember current session for next launch.

        Patrick ZonneveldP 1 Reply Last reply Reply Quote 5
        • Patrick ZonneveldP Offline
          Patrick Zonneveld @Coises
          last edited by

          That did the trick, thanks!

          1 Reply Last reply Reply Quote 1

          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