How do I stop Notepad++ from loading all files from the past session?
I know how to do that settings in Notepad++, but the problem is that I once opened a very large file (>10GB) and made the Notepad++ hang up. Notepad++ has already marked that big file in the session and therefore hang up everytime I start the Notepad++. Is there a way I can stop it from loading the past session so it won't hang up every time?
P.S. I have received a report on possible duplicate with this question. This is obviously a different case. At least in that question the notepad++ still starts up normally while in my case I cannot even change the settings normally because the notepad++ just hang while loading the stored version. The answer to this question also provide a good way to change the settings without starting Notepad++, which will be useful in fixing problems caused by settings when the Notepad++ cannot starts normally.
Disable auto-open of previous files By default, Notepad++ reopens all the files that were open in the last session. To disable that behavior, go to Settings -> Preferences -> Backup and uncheck 'Remember current session for next launch'.
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.
Its that simple, just use the right click context menu to choose Notepad++ when you want to open a file using Notepad++. You can edit your code files using Notepad++ as our software extension will download the file when you right click and try to open the file using our software.
Settings > Preferences > Backup tab > Click Verbose Backup This will time stamp a copy of your file every time you save. The saved file has a . bak extension which can be opened by any text editor.
Yes, you can change that setting by modifying the config file.
go to %appdata%\Notepad++ and open config.xml
You should find the following line in there:
<GUIConfig name="RememberLastSession">yes</GUIConfig>
just change it to no and that should do the trick.
Start from command line:
notepad++ -nosession
"Auto-open previous files" then should be disabled
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With