Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Notepad++ question

21 Nov 2016   #1

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM
Notepad++ question

Notepad++ doesn't warn me if i close it and have unsaved files open.
Is there a setting so i can get a warning to save before closing.
If there is, i haven't been able to find it.

It doesn't cause a problem, it reloads the unsaved file(s) when i restart Notepad++, so no data is lost.
I would just prefer to be warned of unsaved files before it closes.

I use Notepad++ portable, latest version.


My System SpecsSystem Spec
21 Nov 2016   #2

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1

Notepad++ Portable:

Go to settings> Preferences> Backup then uncheck the following.
Notepad++ question-notepad-administrator-2.jpg
If you close a file without saving you will get a prompt.
Notepad++ question-notepad-administrator-.jpg
However it will not remember your last session so you need to look at recent files list.

My System SpecsSystem Spec
21 Nov 2016   #3

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM

Thanks Chris,

I found if i uncheck Enable session snapshot and periodic backup I do get a prompt for unsaved files.
I like auto loading the previous session so i want to keep that enabled.
My System SpecsSystem Spec

21 Nov 2016   #4

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1

I have found that with session snapshot and backup enabled - if you forget to save a file the original will not be overwritten with changes. However if you want to locate the most recent version of a file with changes saved you have to look here:

C:\Portable Apps\Notepad++\backup

EDIT: I mean your Notepad++ folder which will be in the location where you placed it.

If you rename the files in that folder with .txt extension then you can find anything that you forgot to save.
My System SpecsSystem Spec
22 Nov 2016   #5

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM

If i have unsaved files when i close Notepad++, the next time i start Notepad++ (Session) it auto loads the backup file.
I don't lose the unsaved changes, Notepad++ knows which file to open, the original file or the backup file.

If i try to close a file with unsaved changes it does prompt to save the file.

I think it works really well at saving all changes and re-opening correctly.
I would just prefer to get a warning of unsaved changes when closing Notepad++, but it works fine for me as designed.

It's good to know where the backups are, in case i ever need to use them !
My System SpecsSystem Spec

 Notepad++ question

Thread Tools

Similar help and support threads
Thread Forum
upgrading from Notepad 2 to Notepad 3, updating all Reg entires...
I have been using Notepad 2 for more then a decade.. sadly no new updates since 2012, BUT MP2 IS open-source :D I recently discovered that some one has picked up the torch and forked the code and NOW...
Notepad++ v 7.3.3 - Fix CIA Hacking Notepad++ Issue
Interesting update/fix/news for Notepad++ Notepad++ Fix CIA Hacking Issue
problem from replaced notepad ++ with notepad
I find some post that saying can replace our notepad with notepad++ so I do it but now it had a problem with notepad++ because when I open every *.txt it ask to create new this picture
Installation & Setup
Embarrassingly elementary question - Notepad and line breaks
For simple text files, I've just always used Notepad. Lots of better things out there, but Notepad comes with Windows, so I've rolled with it. Now that I'm using Windows 7 - and I don't even remember if Notepad came with it, or if I went out and "found" it somewhere - I'm having the following...
NOTEPAD question/problem
I'm running Windows 7 on my Acer laptop and recently got rid of Office 2007 and installed Office 2003, and it is working just fine. However, I've recently noticed that when I use the "Find" feature in NotePad, it works sometimes, and other times it does not. I've tried checking the spelling, case...
Microsoft Office

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 08:16.
Twitter Facebook Google+