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

Yesterday I was working on one file, it worked great! Today, I tried to open this same file, but it is now empty. Even when I try to open it with Notepad, the file is completely empty. If I look at the properties, I see that it is 11kB. How could it be empty? It is really bothering me, this was a very important file...

I don't think it is relevant, but it is a .cpp file. If I try to open it with Visual Studio, then Visual Studio opens the Notepad with nothing in it.

Does anyone know how to recover the content?

share|improve this question
More information please. I assume you mean KB, not KO. What type of file is it (in Windows the file extension)? What do you mean, "cannot do it"? Do you receive an error? What error? – BinaryMage Apr 1 '12 at 2:17
I've modified the question. – Flavian Apr 1 '12 at 2:23
My guess is that there's a character that Notepad recognizes as "end of file" somewhere near the beginning of the file. You need to look at it with a hex editor such as Neo. – Daniel R Hicks Apr 1 '12 at 2:31
It says 00 everywhere... I guess the content of my file is lost then. – Flavian Apr 1 '12 at 2:47

You must log in to answer this question.

Browse other questions tagged .