How to delete a problem file that is "in use"?

I have a large video file that claims it’s in use by another person or program, and therefore undeleteable under WIndows XP using NTFS file system. The thing is, that the file is not in use by anyone or any other program. It’s falsely claiming it is.

I’ve run a scandisk thinking maybe the file was corrupt (which it is: I can’t even view properties, because when I do my HD starts thrashing for about 10 solid minutes)

So what can I do to get rid of this file?

Reboot and try again. (Don’t open anything other than Explorer when you reboot.) If you still have trouble, shut down your tasks one by one and keep trying to delete each time.

I’ve had this sort of problem too, fairly often. I’ve never had any trouble deleting the problem file after I restart the computer (maybe just logging off and back on fixes it too; I don’t remember). But does anybody know why the problem arises in the first place?

Can you reboot in safe mode in XP? Something running in the background of XP may be tying up the file and safe mode might keep the application from starting. I know you can in Win95, Win98, not sure if XP has a safe-mode option.

here is a better solution. Right click the problematic file then wait for a while (it can even take a couple minutes if the file is really big). then click delete and it will work. This problem only happens with incomplete video files of the type .AVI

you can also try using win commander to access the file and delete it.

Thanks for the replies guys.

I tried logging into a different account and deleting, but no good.
Safe mode: No Good…
Finally, went into command prompt, went to the directory, and deleted it from the command line with no errors whatsoever. Go figure!

Had to do the ol’ “dir /x” to get the proper name of the directory and file though…