Deleting From Command Prompt

Title kind of says it all. This very large corrupted .avi locks up the CPU and I have to kill explorer to recover. Like I say, it's very large, so I want to delete it. But... can't delete it from inside explorer for whatever reason (locks up the CPU), so I'm trying from command prompt. For a file with no spaces in the name such as ifarted.txt this is no problem. But this .avi filename is something like this: Bad Movie.avi When I type "del Bad Movie.avi" the reply is it can't find the file... 'cause it doesn't look past the word 'Bad'. >.< Anyone know how to do this? Thanks.

#100183

del "Bad Movie.avi" (with the quotes) should do it, otherwise try the 8.3 format.

#100185

assuming your in the directory of the movie, AndreasV is pretty much right, but i would include a couple of switches becasue it sounds like the file is correpted.

DEL /F /Q "Movie.avi"

-The Unknown

#100188

GODDAMN YOU PEOPLE ARE GREAT, thanks.

google and yahoo, nothing turned it up. theunknown.... :rock:

#100190

for future reference, there are two registry keys you can delete to prevent this problem, which arises when xp tries to gather information about the file.

if you get the "cannot delete" error, delete: HKEY_LOCAL_MACHINESOFTWARE\Classes\CLSID\{87D62D94-71B3-4b9a-9489-5FE6850DC73E}\InProcServer32

source: http://www.annoyances.org/exec/forum/winxp/r1038248264

if you get the high cpu usage error, delete:

KEY_CLASSES_ROOT\System FileAssociations\.avi\shellex\PropertyHandler and delete the default key.

source: http://www.pcmag.com/article2/0,4149,1202775,00.asp

^_^

#100296