Community
    • Login

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

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

          That did the trick, thanks!

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