• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1527
  • Last Modified:

Cannot Delete file: Cannot read from the source file or disk.

I can't copy all the folders and files on one of my flash drives to my hard drive because one of the files is corrupted.  I've tried to delete the file, even the folder, and re-copy it, but I can't delete it and I can't copy over it, because it's corrupted.  I even went into "Safe Mode" in Windows XP Home Edition, and tried deleting the file and/or folder then.  No luck.  Same reasons.  I want to clean up this Flash Drive because the Flash Drive is supposed to be my copied versions of important files and folders, and when things get corrupted on my hard drive, I then use the Flash to backup files and folders.  So, it's important that the Flash Drive be correct.  How this happened, I don't know, but I have another backup that can correct the files on the Flash, if only the Flash would allow me to delete files and/or folders so I can copy the originals onto it.  Until I delete that one corrupted file, I'm unable to copy the original over the corrupted file, and unable to replace the corrected folder in todo.  Please advise.  (Keep in mind, I did try to delete and copy over in "safe mode" with no luck.  I though about going to regedit, but how do I find a particular file in its folder in XP's registry?
0
Mordido
Asked:
Mordido
2 Solutions
 
greyknight17Commented:
Hi, do you want to delete the whole contents in that flash drive then?  From what I understand you have the originals stored somewhere else which you can copy to this flash drive.  If that's the case, did you try formatting the whole flash drive?  Just right click on the icon in My Computer for that drive and select Format.

If that still won't work, I want you to use a program that should be able to delete that file:

Download KillBox http://www.greyknight17.com/spy/KillBox.exe.  Run KillBox and check the box that says 'End Explorer Shell While Killing File'.  Next click on 'Delete on Reboot'.  For each of the following files below, check the box that says 'Unregister .dll Before Deleting' if it's not grayed out.  Now enter the full path (ignore the errors if it shows up) for that file.  Hit the Red circle with an X in it and confirm to delete that file.  Logoff if you wish.  Now restart.  See if that file is still there now.
0
 
WampyreCommented:
Howdy

I had the same problem at one stage, I had a file on my hard drive that I couldn't delete, safe mode also wouldn't allow me to, but I eventually managed to delete the file, by sharing the folder in which it resided, and deleting it from another computer.  I think the same may hold true for your case, just plug the flash drive into another computer and try to delete the file from there.  I also recommend verifying the original source file to make sure that there is no issue there, I could copy my file from my hard drive to my flash disk, but could not delete either copy of it, and had to reformat the flash disk. That was before I figured out the network thing. I haven't had the same issue again to test it on a flash drive :)

Ciao
0
 
MordidoAuthor Commented:
I hope you guys don't mind me splitting.  GreyKnight 17 offered something I can use, but I thought about formating, it's just that I wasn't sure if I had saved all the current files, and Wampyre, you, gave me a good idea for future.  I'm gonna just reformat, and I'll take it from there.  Thanks guys and/or girls.  (email addresses can be so-so misleading.)
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now