A file I was working on was corrupted (filename.css) due to power cutoff. The file size is same but when I open it with dreamweaver it show blank. If I open it with notepad++ it shows like this:

NUL NUL NUL NUL NUL NUL NUL

How can I recover this file?

link|improve this question

75% accept rate
feedback

migrated from serverfault.com Jan 13 at 7:38

This question came from our site for system administrators and desktop support professionals.

2 Answers

up vote 1 down vote accepted

Well the obvious answer is that you recover the file from your latest backup, but I'm guessing that because your asking this question, you don't have one?

If that's the case, then your pretty limited in what you can do. If you have saving of previous versions turned on in Windows you may be able to load an older version by right clicking on the file, go to properties and look at previous versions.

However, more than likely you are going to have to accept that it is gone, learn your lesson and start doing regular backups.

link|improve this answer
feedback

Restore it from your backup. If you don't have a backup, you are out of luck.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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