Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

If I've accidentally modified a configuration file using Notepad++, saved it, and then closed the file - is there any possibility that Notepad++ may have saved the pre-modified content in a temporary file somewhere?

I need to recover the configuration file - any ideas how I can do this?

share|improve this question

4 Answers 4

up vote 11 down vote accepted

Go to: Settings > Preferences > Backup.

Screenshot

share|improve this answer

No. There is no way to restore state of the closed file.

But pcunite pointed out a good way to go in Your future daily work with notepad++. Backup is as simple as selection of one option in the settings.

share|improve this answer

From a discussion at Sourceforge:

Try finding the recovery folder of Notepad++. On my XP machine, it is at C:\Documents and Settings\<user account name>\Local Settings\Temp\N++RECOV The path may start differently in other versions of Windows.

share|improve this answer

Might be possible with just Windows 7.

Right-click to the file you want to restore and select "Restore previous versions". Not sure about configuration files, but worked perfectly with html and css files (promised myself this will never happen again :)

PS. my original files were 3 days old and were saved as part of system restore point.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.