Windows XP

Cannot read from the source file or disk

Trying to remove a file in Windows XP but get the error: “Cannot read from the source file or disk” ?
At a command prompt I was able to delete the file using:

del "\\?\C:\Temp\Stuff\Stupid_unremovable_file."

If it’s a folder/directory you’re trying to delete use the rd or rmdir command, e.g.:
rd /s "\\?\C:\Documents and Settings\User\Desktop\Annoying_unremovable_Folder."
Tip: as you’re typing the file/directory name use the TAB key to auto-complete the name (press TAB repeatedly to cycle through possible names).

If you want to annoy someone try this:

echo Hi > "\\?\%USERPROFILE%\Desktop\Annoying file you can't delete."

Leave a Reply


}) _0- O-) ;) ;( :{ :o :Y :X :P :N :D :@ :? :9~ :) :(