Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Notepad++ Setting for Disabling Auto-open Previous Files

Tags:

notepad++

enter image description here

How do I stop Notepad++ from loading all files from the past session?

Every time I open a file I have 10 other open tabs with all my past files. I don't want that. When I hit the close button I expect the program to do what I want and close it. If I wanted to save a session I would use the built in session save feature. I don't want to hit the gray x 20 times when I am done so next time I don't have a bunch of files opening and taking up memory.

I tried the -nosession parameter and that works. But it only works if I use the shortcut. It won't work if I use the right-click edit method. How do I set Notepad++ to do this?

like image 906
DantheMan Avatar asked Jan 12 '11 23:01

DantheMan


People also ask

Why do my files keep opening in notepad?

Answer: This usually indicates that you either do not have Microsoft Excel installed or that you do not have Excel set as the default program for CSV files. Follow the steps below to ensure that Microsoft Excel is set as your default program for CSV files: Start >Default Programs.

How do I change what files open in Notepad?

Go to Settings > Apps > Default apps > Click on Choose default apps by file type. Locate the format of the file then choose what app you want it to open with.

Where does notepad keep unsaved files?

Start Notepad ++, click on "Settings" > "Preference". Step 2. Click "Backup" on the window, and find the Notepad ++ unsaved files location in the Backup path.


2 Answers

For versions 6.6+ you need to uncheck "Remember the current session for next launch" on Settings -> Preferences -> Backup.

this is it in 6.6+

For older versions you need to uncheck "Remember the current session for next launch" on Settings -> Preferences.

this is it

like image 127
jhurtado Avatar answered Dec 07 '22 02:12

jhurtado


In Notepad++ v6.6 this setting is moved to the Backup tab of the Preferences menu.

enter image description here

like image 23
YWE Avatar answered Dec 07 '22 02:12

YWE