Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question

migrated from serverfault.com Jan 13 '12 at 7:38

This question came from our site for system and network administrators.

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.

share|improve this answer

You can use Recuva software if no backup is done.

My file got corrupted due to power cut off ,so installed Recuva (free software for undelete) and searched in that folder with Recuva. It was able to recover my file.

Hope this help.......

share|improve this answer

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

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .