folder won't delete, hidden files

mladja48

Honorable
Oct 28, 2013
15
0
10,510
Ok I was listening to music yesterday and suddenly the program I was using skipped a whole folder containing several songs. When I tried to enter the folder normally windows explorer would freeze. After a while I could get into it but it would freeze for a second every time.
When I tried to delete the folder (shift+delete) this message pops up "Cannot delete file: Cannot read from the source file or disk.".
When I send it to the recycle bin (delete) a message would appear to inform me that that particular drive wasn't formatted an then asks me do I want to format the disk right now (it's an old hard drive that suffered an electrical surge).
After that I used some program that I found on the web called Unlocker with which i managed to delete some files.
When I tried the second time to delete by sending it to the recycle bin this message shows up "Cannot delete "FILE NAME": Data error (cyclic redundancy check)." , the FILE NAME in question is a .jpg file that i managed to delete through using Unlocker.

The thing that bugs me is that when i turn on the option to show hidden files and folders and I also have to turn off the option of hiding operating system files I see 2 image files and an .ini file that were supposed to be erased, they are in an outer folder that contains the folder that's causing me all this trouble. (i tried to erase the whole folder to be safe)
These 3 files , when I try to delete them my computer sees them as system files and warns me that if I try to delete them my computer wouldn't work properly , even if I click yes it just shows an error message as described previously.
Today I still have problems with that folder, I just can't access it. And those 3 files are still there.
I've had no other problems with my computer and it has been behaving normally, except for that fodler.

P.S.
Forgot to mention that I haven't reinstalled my OS for a very long time, it's been at least more than 2 or 3 years overdue.
 
Solution
Try running a chkdsk c: /f substituting C: with your drive letter if needed. If it still gives you problems after this, try openeing a command propmpt and type in

attrib -h -s [drive:][path][filename]

which will [strike]mare[/strike] mark the files as non-system and non-hidden, then try to delete them.
Thanks for such a quick answer but I can't right -click on the files in question because every time windows explorer freezes for a while and the right-click popup menu shows up for a split second and closes. That's it.
Also I don't see these files when I click Show hidden files, folders, and drives in the Folder options,
I literally have to check out the box saying "Hide protected operating system files [Recommended]" just to see these 3 files.



 
Try running a chkdsk c: /f substituting C: with your drive letter if needed. If it still gives you problems after this, try openeing a command propmpt and type in

attrib -h -s [drive:][path][filename]

which will [strike]mare[/strike] mark the files as non-system and non-hidden, then try to delete them.
 
Solution