Results 1 to 13 of 13
  1. #1
    D. Ring
    Join Date
    Apr 2006
    Posts
    4,738
    BG Level
    7
    FFXI Server
    Siren

    File Became 0 KB, Any Fixes?

    So today I found out one of my files I need somehow got corrupted or something because now it displays as having a size of 0KB. The file icon is still there... but it's like it has no ability to be recognized or opened. I'm running Windows 7 64 Ultimate.

    I'm not sure exactly what caused the file to change. Some recent events I suspect could have contributed were a few bluescreen crashes, and also a virus scan where I deleted a bunch of quarantined files without paying attention to which files they were. What I do know is that the file worked fine yesterday, and today after those events it does not.

    Does anyone have any suggestions or advice for recovering or repairing my file? I have tried doing a system restore back to last week but this didn't affect it. I also tried an undelete program but of the files it shows I'm not sure any of them are relevant.

    Could Checkdisk or any other program repair a corruption or something? I figure that's the next thing I will try but it takes a while. Thanks.

  2. #2
    D. Ring
    Join Date
    Apr 2006
    Posts
    4,738
    BG Level
    7
    FFXI Server
    Siren

    On a probably related note: my PC has become incredibly unstable in the past two days. Since I have done an intensive virus scan and removed several infections I have been bluescreening constantly. And similarly Firefox itself crashes all the time now. If these are related I would like advice or recommendations for either issue thanks.

  3. #3
    Sea Torques
    Join Date
    Jun 2007
    Posts
    539
    BG Level
    5
    FFXI Server
    Titan

    backup and reinstall

  4. #4
    Weaboo of the House of Weave
    Join Date
    Mar 2005
    Posts
    10,135
    BG Level
    9
    FFXIV Character
    Arthur Pendragon
    FFXIV Server
    Gilgamesh

    reformat your machine, you're clearly infected with something that is ruining your install

  5. #5
    Relic Shield
    Join Date
    Mar 2007
    Posts
    1,658
    BG Level
    6
    FFXI Server
    Bahamut
    WoW Realm
    Cho'gall

    Quote Originally Posted by Pandum View Post
    backup and reinstall
    While being careful to not back up infected files, of course!

  6. #6
    Yoshi P
    Join Date
    Nov 2006
    Posts
    5,072
    BG Level
    8
    FFXI Server
    Quetzalcoatl
    WoW Realm
    Proudmoore

    Recovering 0KB files are difficult. What type of file is that? For example, if it is an outlook file it's got a built-in fix software in it.

    0KB's could be caused by anything, power failures, system crashes or...just, well out of blue (Software error).

    Best way to avoid this is done by taking regular back ups.

  7. #7
    Resident Moogle
    Join Date
    Mar 2007
    Posts
    13,176
    BG Level
    9
    FFXI Server
    Asura

    I had a couple of those recently on the Windows partition on this Mac, which I chalk up to me having formatted it in FAT32 rather than NTFS like I should have. Chkdsk fixed it for me after having tried 50 other methods. Both OSX and Windows didn't want to touch the file for some reason.

  8. #8
    D. Ring
    Join Date
    Apr 2006
    Posts
    4,738
    BG Level
    7
    FFXI Server
    Siren

    It was like a 40gb partition itself. So yeah sadface.

    If I run a custom install of Win7 it should keep my files in the windows .old folder right?

  9. #9
    D. Ring
    Join Date
    Apr 2006
    Posts
    4,738
    BG Level
    7
    FFXI Server
    Siren

    Double post lag.

  10. #10
    WASTE OF CURRENCY
    I CAN'T I CAN'T I CAN'T

    Join Date
    Feb 2006
    Posts
    9,065
    BG Level
    8
    FFXIV Character
    Izzy Izumi
    FFXIV Server
    Sargatanas
    FFXI Server
    Phoenix
    WoW Realm
    Arthas

    There was a 0KB file problem in the past with Novell filing systems. You could hex-edit the file and take the string that Novell appended to the beginning out, and it would fix it.

    You could have a similar problem, where the file header has some invalid shit in it.

  11. #11
    D. Ring
    Join Date
    Apr 2006
    Posts
    4,738
    BG Level
    7
    FFXI Server
    Siren

    Someone from another forum supplied this response:
    That happened to me once. It can be quite a project to recover from this, and there can be no guarantee of success. I don't think any of the standard file unerase/data-recovery programs are going to help because you already have a zero-byte file of the same name, so there's nothing to search for. Are you technically inclined? I had to go in with a hex editor, hunt for a large block of random data (the lost file), manually locate the file's endpoints, select the block and save it as a new file. The greatest difficulty was in finding and confirming the endpoints. In my case I was able to visually identify what appeared to be the endpoints because there was a perceptible transition between the lost file's fully random data and the non-random data that happened to surround it, but that was sheer luck, and it's not always going to happen. And even then, I had to test the (assumed) headers to ensure that I was in the right place. The headers look just like the rest of the random data, so I grabbed likely samples, saved them as files and tested them one by one until I found the exact spot. Are you up for all that?
    Is there any reasonably easy way of doing this? Or do you need to understand hex editing, coding, and all that? It sounds like I'm borked.

  12. #12
    hey
    hey is offline
    listen!
    Join Date
    Apr 2011
    Posts
    7,234
    BG Level
    8
    FFXI Server
    Sylph

    Quote Originally Posted by Gwynplaine View Post
    Someone from another forum supplied this response:


    Is there any reasonably easy way of doing this? Or do you need to understand hex editing, coding, and all that? It sounds like I'm borked.
    Hex editing has nothing to do with coding. Hex editors are similiar to text editors like notepad, but instead of displaying strings, they display the raw data in hex. Trying to find a file within a file is not exactly difficult, but it can take a lot of luck and/or time. Unless you know exactly what the file looks like, it'll likely take a lot of trial and error. It's kind of like looking for a needle in a needle stack.

  13. #13
    D. Ring
    Join Date
    Apr 2006
    Posts
    4,738
    BG Level
    7
    FFXI Server
    Siren

    It's not exactly relevant to anyone here, but I just thought I'd follow up and say that I've become reasonably certain the cause of all my BSOD issues has been a bad stick of memory. Not the OS or any virus.

Similar Threads

  1. Hard Drive Probably Dead, Any Fixes?
    By Gwynplaine in forum Tech
    Replies: 25
    Last Post: 2011-06-18, 17:46
  2. Replies: 2
    Last Post: 2010-09-13, 07:24
  3. Replies: 5
    Last Post: 2010-02-28, 23:42
  4. Replies: 12
    Last Post: 2009-04-23, 15:41
  5. Replies: 1
    Last Post: 2008-10-02, 01:34
  6. Any way to fix a bricked PS3?
    By Appie in forum Tech
    Replies: 3
    Last Post: 2007-09-12, 07:35