I was using NotePad++ to keep a txt file of my workhistory everyday, which is now 1.527MB.
Yesterday, while it was opening, the OS was unexpected shutoff, something like power loss in a desktop. After restart the machine, my recent 2.5 months of records are lost. :(
When using NotePad to check the file, the ending becomes pages of blanks.
When using a hex editor to check the file, it ends with pages of "00"
When using Notepad++ to check it, it become "Not responding" at the beginning of content loss.
I don't think there is a chance to recover it. However, still post here to see whether anybody can help to recover my data.
Thanks in advance!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I don't know about that. I only suggested it, because I expect the automatic backup feature would have saved your file while working on it. If it is disabled, surely, you wouldn't expect the problem to be your system being shutdown while re-writing the file.
Don't you keep a backup of the previous version you worked on?
Do I understand you _only_ keep one single working file?
That's also not good practice.
Always keep a second copy of your file which you can compare to the changed file after editing.
Next to that, my advise is to always backup the complete directory your work files are in.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I was using NotePad++ to keep a txt file of my workhistory everyday, which is now 1.527MB.
Yesterday, while it was opening, the OS was unexpected shutoff, something like power loss in a desktop. After restart the machine, my recent 2.5 months of records are lost. :(
When using NotePad to check the file, the ending becomes pages of blanks.
When using a hex editor to check the file, it ends with pages of "00"
When using Notepad++ to check it, it become "Not responding" at the beginning of content loss.
I don't think there is a chance to recover it. However, still post here to see whether anybody can help to recover my data.
Thanks in advance!
First of all, use your hex editor to cut off the blank/00 part and save you file to (have) a backup file!
You might have been helped by using Notepad++'s automatic backup feature.
FYI. The backup is set to NONE.
I am fine if what I had lost is those after my last save.
However, I have lost much more than that.
If the automatic backup feature still works after the setting of "NONE", I'll say I was being trapped instead of being helped.
I don't know about that. I only suggested it, because I expect the automatic backup feature would have saved your file while working on it. If it is disabled, surely, you wouldn't expect the problem to be your system being shutdown while re-writing the file.
Don't you keep a backup of the previous version you worked on?
Do I understand you _only_ keep one single working file?
That's also not good practice.
Always keep a second copy of your file which you can compare to the changed file after editing.
Next to that, my advise is to always backup the complete directory your work files are in.
Thanks for the advice.
Now I learned my lesson, in a hard way. :(...
Though, still hoping somebody can show me some magic to recover my file. :)