How can I access file in localhost?

Windows XP crashes during file access, can I fix it?

  • Windows XP crashes whenever it accesses a specific file. The problem: I don't know what file it is. What would cause such a serious error and how do I fix it? I know it's a file located under D:\mp3s\ . I first had the problem when backing up the directory to an external hard drive, in the middle of the copying it crashes the computer. I get a short glimpse of a blue screen of death and then intant reboot. I attempted again and it crashed about the same time into the copying. I ran scandisk on the drive to hopefully fix the corrupt file, but it crashes when accessing that part as well. I ran a virus scan, once again the computer crashes anytime any program tries to access that file. Anyone have any suggestions on how to track down what file it is and how to remove it? (Short of accessing files one at a time to find the culprit.)

  • Answer:

    go to a command prompt (start->run... "cmd.exe") and try this: copy /s /y * d:\mp3s c:\some_backup_location > c:\files_copied.txt This will add the filename to c:\files_copied.txt before it tries to copy it. So the last one after it reboots will be the one that's broken.

monsta coty scott at Ask.Metafilter.Com Visit the source

Was this solution helpful to you?

Other answers

Sounds like your disk is crapping out. Run a SMART diagnostic. I dunno where there's a windows copy, but there's one on the Knoppix CD.

orthogonality

Have you turned off automatic reboot after system failure? If not, go to control panel > system > Advanced tab > Startup and Recovery settings button > uncheck "Automatically restart" in the system failure section. That way you can see what the bsod says.

puke & cry

The Event Viewer may also give some clues (Administrative Tools).

kcm

The crappy manual way to do it is to move/backup/whatever half the files. If it crashes, split that batch in half and copy again. If it doesn't, split the other batch in half a copy again. Repeat until you narrow it down. Let's search the logarithmic way!

awesomebrad

Shouldn't you be able to tell based on which files got copied?

srboisvert

Allright, aubilenon has told you how to find it the file in question. What are you going to do now? I thought you also wanted to know how to fix the problem?

Dunwitty

Sorry, I should have done a follow up sooner. For anyone else who finds this thread this is what I did... I used the copy command to copy the files over to a different directory. When the computer rebooted I checked the log file and saw the file right before the one that crashed. Whenever I clicked on or tried to drag the file to the recycle bin it would crash again. So I just went down one folder, and deleted the entire folder (I didn't mind losing the other files within that folder). It erased it from the drive and it has worked perfectly since that time. Thanks for all of the suggestions!

monsta coty scott

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.