Re: Can't Delete File

From: Alex Nichol (alexn.mvpdts_at_ntlworld.delete.com)
Date: 03/17/04


Date: Wed, 17 Mar 2004 14:00:17 +0000

Don wrote:

>I have a file which I am unable to delete. I have
>searched the microsoft database and have tried deleting
>it from explorer with shift+delete and have tried
>changing the attributes from the dos window but I am
>still not having any luck.

If this is an AVI file it is because Explorer goes looking into the
files when you open a folder, to look for the extra info about
Properties - like resolution, frame rate, etc. And gets in a loop, so
the program that is using the file is the very Explorer you are trying
to delete with. It seems to happen particularly if the DivX codec
(that came out after XP) has been used.

A way to handle it is to r-click in the Task bar and take Task Manager..
Also have All Programs - Accessories - Command Prompt open, and use the
CD command in it to get to the folder containing the file. Then in Task
Manager, Processes, highlight explorer.exe and End Task. All the
desktop will vanish, leaving those two windows - in the Command prompt
one use DEL to delete the file(s), then in Task manager take File -
NewTask (Run) and run explorer.exe to bring the desktop back. A tedious
process.

It may be best for people with a lot of these files to do without the
extra property info - Start - run - regedit.exe, open to

HKEY_CLASSES_ROOT\SystemFileAssociations\.avi\shellex\PropertyHandler

highlight that and delete it

-- 
Alex Nichol MS MVP (Windows Technologies)
Bournemouth, U.K.  Alexn@mvps.D8E8L.org (remove the D8 bit)


Relevant Pages

  • Re: problem loading desktop
    ... I can start a new process, command prompt and enter "explorer". ... The windows ... roaming profile experienced the same problem. ... task manager and see what programs are running, and I can log off and if I ...
    (microsoft.public.windows.group_policy)
  • Re: grouping
    ... Sort the Task Manager Process tab, ... Windows XP Shell/User ... local drive rather than explorer. ...
    (microsoft.public.windowsxp.general)
  • Re: problem loading desktop
    ... Sometimes explorer takes a long time to load if there are mapped ... drives that no longer exist or the script's mapped drive is not ... The windows ... task manager and see what programs are running, and I can log off and if I ...
    (microsoft.public.windows.group_policy)
  • Re: Files Locking
    ... WINDOWS BEHAVIOR AND I WOULD LIKE TO CORRECT IT ... Close all open programs. ... Right-click the taskbar, and select Task Manager. ... At the command prompt, use the Delete command to remove the file, ...
    (microsoft.public.windowsxp.general)
  • Re: grouping
    ... >and cut and paste the results (right click the taskbar ... unknown reasons after a folder instead of Explorer. ... >>>Sort the Task Manager Process tab, ... >>>Windows XP Shell/User ...
    (microsoft.public.windowsxp.general)

Loading