Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. file recovery after a ****ing xp crash

file recovery after a ****ing xp crash

Scheduled Pinned Locked Moved The Lounge
comtutorial
10 Posts 7 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Steven Hicks n 1
    wrote on last edited by
    #1

    Does any one know how to recover a file after XP crashed on me while I was working on one of my apps. It but a bunch of invalid characters where a good portion of my code is. -Steven don't even try format c: /y with me!

    Visit Ltpb.8m.com
    3D Image Library: Ltpb.8m.com/Image

    C E L T 4 Replies Last reply
    0
    • S Steven Hicks n 1

      Does any one know how to recover a file after XP crashed on me while I was working on one of my apps. It but a bunch of invalid characters where a good portion of my code is. -Steven don't even try format c: /y with me!

      Visit Ltpb.8m.com
      3D Image Library: Ltpb.8m.com/Image

      C Offline
      C Offline
      ColinDavies
      wrote on last edited by
      #2

      What type of file do you have to recover ? Regardz Colin J Davies

      Sonork ID 100.9197:Colin

      You are the intrepid one, always willing to leap into the fray! A serious character flaw, I might add, but entertaining. Said by Roger Wright about me.

      S 1 Reply Last reply
      0
      • S Steven Hicks n 1

        Does any one know how to recover a file after XP crashed on me while I was working on one of my apps. It but a bunch of invalid characters where a good portion of my code is. -Steven don't even try format c: /y with me!

        Visit Ltpb.8m.com
        3D Image Library: Ltpb.8m.com/Image

        E Offline
        E Offline
        Erik Funkenbusch
        wrote on last edited by
        #3

        Sounds like the infamous Visual Studio 6 bug that corrupts code. Were you by any chance using plug-ins like Visual Assist or WndTabs? Sadly, if the file is garbage, you're probably screwed. -- Where are we going? And why am I in this handbasket?

        S 1 Reply Last reply
        0
        • S Steven Hicks n 1

          Does any one know how to recover a file after XP crashed on me while I was working on one of my apps. It but a bunch of invalid characters where a good portion of my code is. -Steven don't even try format c: /y with me!

          Visit Ltpb.8m.com
          3D Image Library: Ltpb.8m.com/Image

          L Offline
          L Offline
          leppie
          wrote on last edited by
          #4

          Hi Make sure your drives are NTFS, your chances of recovering a corrupted file entry is much better, where FAT32 will most likely "delete" the file during a Scandisk, and will be unusable/inaccessable if you didnot run a scandisk. Now, unfortunately I know of no way to fix the problem. :( You can try www.ontrack.com[^] , you might find some answers there :~ Cheers :) Give them a chance! Do it for the kittens, dear God, the kittens! As seen on MS File Transfer: Please enter an integer between 1 and 2.

          M 1 Reply Last reply
          0
          • C ColinDavies

            What type of file do you have to recover ? Regardz Colin J Davies

            Sonork ID 100.9197:Colin

            You are the intrepid one, always willing to leap into the fray! A serious character flaw, I might add, but entertaining. Said by Roger Wright about me.

            S Offline
            S Offline
            Steven Hicks n 1
            wrote on last edited by
            #5

            Its a .cpp file. -Steven

            Visit Ltpb.8m.com
            3D Image Library: Ltpb.8m.com/Image

            C 1 Reply Last reply
            0
            • E Erik Funkenbusch

              Sounds like the infamous Visual Studio 6 bug that corrupts code. Were you by any chance using plug-ins like Visual Assist or WndTabs? Sadly, if the file is garbage, you're probably screwed. -- Where are we going? And why am I in this handbasket?

              S Offline
              S Offline
              Steven Hicks n 1
              wrote on last edited by
              #6

              I wasn't using any plug-ins and I have SP5 installed for VC6. -Steven

              Visit Ltpb.8m.com
              3D Image Library: Ltpb.8m.com/Image

              1 Reply Last reply
              0
              • L leppie

                Hi Make sure your drives are NTFS, your chances of recovering a corrupted file entry is much better, where FAT32 will most likely "delete" the file during a Scandisk, and will be unusable/inaccessable if you didnot run a scandisk. Now, unfortunately I know of no way to fix the problem. :( You can try www.ontrack.com[^] , you might find some answers there :~ Cheers :) Give them a chance! Do it for the kittens, dear God, the kittens! As seen on MS File Transfer: Please enter an integer between 1 and 2.

                M Offline
                M Offline
                Mike Player
                wrote on last edited by
                #7

                This has happened to me a couple of times - usually when I got a BSOD in the NTFS file system :mad: The CPP files were totally trashed, so I had to delete them and recover from that other wonder MS product source safe.

                1 Reply Last reply
                0
                • S Steven Hicks n 1

                  Does any one know how to recover a file after XP crashed on me while I was working on one of my apps. It but a bunch of invalid characters where a good portion of my code is. -Steven don't even try format c: /y with me!

                  Visit Ltpb.8m.com
                  3D Image Library: Ltpb.8m.com/Image

                  T Offline
                  T Offline
                  Tim Smith
                  wrote on last edited by
                  #8

                  There really isn't much you can do. If that block was actually written to the disk, it didn't have time to get linked properly into the file headers. So even if it is on disk, it would be a bear to find or got overwritten during system boot. One of the things you can do is disable the write cache on your disk drives. Slows performance, but greatly reduces the chance of problems on BSOD. Tim Smith "Programmers are always surrounded by complexity; we can not avoid it... If our basic tool, the language in which we design and code our programs, is also complicated, the language itself becomes part of the problem rather that part of the solution." Hoare - 1980 ACM Turing Award Lecture

                  J 1 Reply Last reply
                  0
                  • T Tim Smith

                    There really isn't much you can do. If that block was actually written to the disk, it didn't have time to get linked properly into the file headers. So even if it is on disk, it would be a bear to find or got overwritten during system boot. One of the things you can do is disable the write cache on your disk drives. Slows performance, but greatly reduces the chance of problems on BSOD. Tim Smith "Programmers are always surrounded by complexity; we can not avoid it... If our basic tool, the language in which we design and code our programs, is also complicated, the language itself becomes part of the problem rather that part of the solution." Hoare - 1980 ACM Turing Award Lecture

                    J Offline
                    J Offline
                    Jack Handy
                    wrote on last edited by
                    #9

                    Tim Smith wrote: So even if it is on disk, it would be a bear to find or got overwritten during system boot. I have a friend who deleted a large source file on accident once. So he used something like: grep -A 1000 -B 1000 "something he knew was in there" /dev/hda1 It found it and he was able to copy/paste it into a text editor. -Jack

                    If things are as bad as they can be, you can be sure there'll be a brighter tomorrow.

                    1 Reply Last reply
                    0
                    • S Steven Hicks n 1

                      Its a .cpp file. -Steven

                      Visit Ltpb.8m.com
                      3D Image Library: Ltpb.8m.com/Image

                      C Offline
                      C Offline
                      ColinDavies
                      wrote on last edited by
                      #10

                      Give a tool like Text Extract[^] a go. It depends on how bad the file is corrupted as to what you can retrieve. Regardz Colin J Davies

                      Sonork ID 100.9197:Colin

                      You are the intrepid one, always willing to leap into the fray! A serious character flaw, I might add, but entertaining. Said by Roger Wright about me.

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups