Page 1 of 1

Undeletable file "Cannot read from the source file or d

Posted: Thu Feb 17, 2005 5:57 pm
by Survivor
I don't know if anyone remembers the topic i made at raw about an undeletable file that couldn't be fixed with closing explorer.exe and gave the error message "Cannot read from the source file or disk".

But i found a method on google. Apparently invalid characters and spaces where used to make the file undeletable.

When you have found the file open cmd. Head to the directory it is in. When you're there type "dir /x" this will show you the real name of the file. simply use "del filename" to delete it. If it still cannot be deleted it might be because they used a space. type "del filename(alt+255)". rmdir as a command can be used to remove dirs in the same manner.

I post this here because it took me some searching before i found it and because most people direct you to the close down explorer and delete the file method which simply doesn't work in this case.

Maybe it's an idea to start a knowledge database for the harder to get by information like this?

Posted: Thu Feb 17, 2005 6:15 pm
by FragaGeddon
Or how about install move on boot.

Posted: Thu Feb 17, 2005 6:21 pm
by Survivor
Well this fixed it requiring no install and i doubt it would find it anyway.

Posted: Fri Feb 18, 2005 12:54 am
by Dr_Watson
alt255 isn't invalid.. its a blank character. (not a space)
its fun to name files or directories with alt255's; makes for some interesting file listings.
pretty lame of windows having issues dealing with it though.

edit: just tried making a file with some random 255's in it... no issues deleting it in windows XP pro from explorer... :shrug:

Posted: Fri Feb 18, 2005 2:57 am
by U4EA
Win98 had problems with Alt255 which is why it was a great way to hide porn. Win2k and WinXP don't suffer from the same issue. No idea which OS Survivor is using but I've personally had no problems accessing/deleting Alt255 directories and files on Win2k and WinXP.

Posted: Fri Feb 18, 2005 8:54 am
by Survivor
Was xp. Maybe it wasn't that alone but it solved the problem.

Posted: Fri Feb 18, 2005 3:35 pm
by axbaby
good tip man .. i will use it next time.