Recover files from Notepad++ Crash

Comments 0

Beware This post is more than 3 years old, it may be outdated or incorrect! Please check elsewhere for accurate information!

Today I was working on a website for a client and I was very productive, meaning I did a lot of things today. I've had some incidents with Notepad++ crashing before, so I often save. Every little change and I do CTRL + S before writing any more code.

Today it was different. I was writing code as usual, then I pressed CTLR + SHIFT + S. This shortcut saves all open files. At the exact moment, Notepad++ crashed. When I opened the folder where the files were, some of the files were full of NULL bytes (shown as NUL symbols in Notepad++).

After searching for Notepad++'s backup, I found that it stores the backups in %appdata%\Notepad++\backup. Press Windows + R and paste that location. You should see a backup of the file you were working on. Sometimes it might be the latest version, sometimes not, and if you're really unlucky, then there won't be any.

Thankfully I was lucky this time, as if I didn't find a backup, all my work would've been ruined, since once a file's been written over with an SSD, recovery is impossible. Nothing can save you. Be safe and have Dropbox sync that directory.


Comments (0)

Please be civil when commenting. Think before writing, don't spam, self promote, bully, harass or harm anyone. Please read the Comment Policy before posting. Comments are moderated.

There are no comments.
Be the first to contribute!

Scroll to top