INTERACT FORUM

More => Old Versions => Media Center 11 (Development Ended) => Topic started by: LonWar on June 15, 2004, 06:22:55 pm

Title: OT - Undeletable File....
Post by: LonWar on June 15, 2004, 06:22:55 pm
Hello, I seem to have a system glitch and I have a file that got corrupt that I can not delete, When I try I get a message saying:

Cannot delete [File name] : Cannot find specified file...


Any idea's how to get rid of it?

Thanks,
Title: Re:OT - Undeletable File....
Post by: JimH on June 15, 2004, 06:36:34 pm
Did you try a wildcard delete: del badfil*.* ?

Rename?

Title: Re:OT - Undeletable File....
Post by: GHammer on June 15, 2004, 06:42:33 pm
Is it in another language, shows up like ???.doc
If so, drag it (move) to the desktop and it'll delete.

If not, then open a command prompt in that folder and DEL the file. Remember you have to use 'if the file name.txt' has spaces in it.
Title: Re:OT - Undeletable File....
Post by: lalittle on June 15, 2004, 06:51:10 pm
I ran into this a while back, and if memory serves I ended up using the deltree command from a DOS prompt to finally delete it.  The problem is that the deltree command deletes the entire directory that the file is in (and all it's subdirectories), so you have to move any files you want to keep to another directory first.

If there are files you want to keep in this folder, move them all to another folder first, than delete the folder containing the problem file from a DOS prompt using deltree.  You can now go back to Windows Explorer and rename the temp folder to the previous name, which puts everything back to the way it should be.  I'd run a scandisk (or chkdsk) afterwards just to be safe.

I'm "fairly" sure that this is how I finally solved this issue.  Good luck.

Larry
Title: Re:OT - Undeletable File....
Post by: Mastiff on June 16, 2004, 10:13:00 am
That will of course be a problem if the file is in the root directory...  ;) I have done it a few times with boot diskettes.