PDA

View Full Version : How do I get rid of a corrupted file in Windows?



Kyle
2006-03-17, 18:03
In trying to copy some music files recently, I ended up with some corrupted files that are unreadable and undeletable, according to Windows. I need to get rid of these files to copy albums to another hard drive, but I can't do it by normal WindowsXP methods. It says the files are corrupted or unreadable and won't let me delete them. Is there any other way to delete the files, so that I can get my music to another hard drive?

shinyspoon
2006-03-17, 18:40
Have you tried windows CMD and the del command?

Regards,
Pete

Kyle
2006-03-17, 18:42
No, what command would I use?

EDIT: I tried to delete as you suggested, and it said it could not and to run CHKDSK, which I did with this result:


CHKDSK is verifying files (stage 1 of 3)...
File verification completed.
CHKDSK is verifying indexes (stage 2 of 3)...
Deleting index entry Tupelo Honey in index $I30 of file 189.
Deleting index entry TUPELO~1 in index $I30 of file 189.
Deleting index entry Aja in index $I30 of file 1122.
Deleting index entry Can't Buy A Thrill in index $I30 of file 1122.
Deleting index entry CAN'TB~1 in index $I30 of file 1122.
Deleting index entry Countdown To Ecstasy in index $I30 of file 1122.
Deleting index entry COUNTD~1 in index $I30 of file 1122.
Deleting index entry Gaucho in index $I30 of file 1122.
Deleting index entry Katy Lied in index $I30 of file 1122.
Deleting index entry KATYLI~1 in index $I30 of file 1122.
Deleting index entry Pretzel Logic in index $I30 of file 1122.
Deleting index entry PRETZE~1 in index $I30 of file 1122.
Deleting index entry The Royal Scam in index $I30 of file 1122.
Deleting index entry THEROY~1 in index $I30 of file 1122.
Deleting index entry Live From Austin in index $I30 of file 3689.
Deleting index entry LIVEFR~1 in index $I30 of file 3689.
Index verification completed.

Errors found. CHKDSK cannot continue in read-only mode.

Those are the corrupt files. Any idea how to get rid of them?

shinyspoon
2006-03-17, 19:03
No, what command would I use?

Kyle,

Firstly, I suggest that you copy all the good directories and files to their new location.

Then, if you right-click on the directory containing the bad file, have you got Open followed by CMD shell on the dropdown menu?

1. If so, right-click and left-click on the "CMD shell" option and you should be in the correct directory.

2. If not, Accessories, CMD prompt will take you to the CMD shell. The you need to CD (Change Directory) until you find the directory containing the corrupt file.

When you are in the correct directory, do a dir to examine the contents of the directory and MAKE sure you see the file you want
to delete is there.

If the contents are too much for a page do "dir | more" to see a page at a time, hitting the space bar for the next page.

Then, very carefully type "del filename" where filename is the name of the file you want to remove.

Hope this helps, but be careful.
Pete

Mark Lanctot
2006-03-17, 19:32
There are lots of utilities for deleting "undeletable" files here:

http://www.majorgeeks.com/download.php?id=2&sort=4

mikelis
2006-03-17, 20:23
use chkdsk /F