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.

I have a huge CSS file that I was editing in Notepad++ when my computer restarted. My CSS file was saved, but after the restart it changed. The CSS code disappeared and there is a long line with NULLNULLNULLNULLNULL [...]. The size of the CSS file is correct. How can I restore this file? I have not backed up the CSS file and it took me a long time to create.

edit: I saved out from Browser cache. But when the computer is restarted I reopened the google chrome and the browser is downloaded my empty css to cache. So I saved it from Firefox cache what I runned yesterday so I only lost 12 hours from my work and my life not all file and weeks:S

share|improve this question

migrated from stackoverflow.com Jul 11 '11 at 17:38

This question came from our site for professional and enthusiast programmers.

    
Sorry, but I think you've pretty much lost it for good. Unless you've already got some good data recovery tools and know how to use them, I would say that even for a very large CSS file, it will be quicker to rewrite it. Every developer I know has been through something like this. It's amazing how no-one bothers with backups until they've suffered at least once in this way. I guess it's one of those lessons that everyone has to learn the hard way. But on the bright side, re-doing work almost always ends up being quicker and better than the first time. –  Spudley Jul 11 '11 at 17:36
    
@David, if you register your account and associate it with your Stack Overflow account, then you will have full access to edit your question and leave comment on answers to it. –  nhinkle Jul 11 '11 at 19:10

1 Answer 1

For Windows users:

Right-click the file or folder, and then click Restore previous versions

share|improve this answer

Your Answer

 
discard

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