How to get Notepad++ to close all files upon closing the program?
-
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.
-
@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.
-
That did the trick, thanks!