Results 1 to 11 of 11
  1. #1
    Lounger
    Join Date
    Nov 2002
    Location
    oulu, Finland
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Error Deleting files

    Hi All,

    When i try to delete files, It displays a message saying that "file cannot be deleted it may be in use by some person or some porgram".

    I tried with the Delete key and also with Shift+Del key. Restarting the system and etc.,

    Even i tried to move the file to other locations. I'm even unable to move it to other locations.

    <img src=/S/help.gif border=0 alt=help width=23 height=15>

  2. #2
    Super Moderator
    Join Date
    May 2002
    Location
    Canberra, Australian Capital Territory, Australia
    Posts
    5,054
    Thanks
    2
    Thanked 417 Times in 346 Posts

    Re: Error Deleting files

    Hi kb,
    Is this a particular file, or files in general?
    Cheers,

    Paul Edstein
    [MS MVP - Word]

  3. #3
    Silver Lounger Bruce K's Avatar
    Join Date
    Apr 2002
    Location
    Phoenix, Arizona, USA
    Posts
    1,876
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Error Deleting files

    Hi, KB ~

    Sometimes this happens to me with a regular folder or file and after rebooting, I am able to delete it with no problem.

    If this is another type of file, it may be in use once you start your system and may need to end that app or process. Do you know the file type?

  4. #4
    Plutonium Lounger
    Join Date
    Oct 2001
    Location
    Lexington, Kentucky, USA
    Posts
    12,107
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Error Deleting files

    Also, you didn't say which operating system you're using.

  5. #5
    Gold Lounger
    Join Date
    Feb 2003
    Location
    Wardrobe Malfunction Junction, Derry
    Posts
    2,953
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Error Deleting files

    If it is still there with a reboot, you may able to delete it from Windows Explorer. It happened to me the other day, when I dragged a file from something I just downloaded from my programs menu to the desktop instead of using the right click "send to desktop" or right click copying it to desktop. It happens to me once in a while, and I wish I knew the why on every one of the times. One time it was a completely empty folder that I had named a day of the month for some reason. Another it was from an executable with layers and layers of the same folders--Windows Explorer got that one. The one the other day was refractory to reboot and Win Explorer. I was finally able to shift + delete it which suggests something else was in the equation perhaps running in the background and stopped--don't know what or why.

    SMBP

  6. #6
    Lounger
    Join Date
    Nov 2002
    Location
    oulu, Finland
    Posts
    26
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Error Deleting files

    First of all thanks for your replies. I tried to delete a *.avi file and i'm using win xp HE. I hope this info is enough if you need more info i will give. I hope with your help i will get rid of the files.

    Thanks

  7. #7
    Plutonium Lounger
    Join Date
    Oct 2001
    Location
    Lexington, Kentucky, USA
    Posts
    12,107
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Error Deleting files

    As has been mentioned, maybe after a reboot you can delete the file. It could also be a "security" thing - is the AVI file possibly located in the profile structure of another user account? I can't think of any filetype reason why XP wouldn't want to let you delete that type of file, unless it thinks it is protected or in-use. Is your file system FAT32 or NTFS? You might have to resort to using a DOS boot floppy to delete it (if FAT32).

  8. #8
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Long Beach, California, USA
    Posts
    1,912
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Error Deleting files

    WinXp does something strange with .avi files -- not being a WinXP user I cannot give you the details of how and why. Regardless, your problem is quite frequent.

    I have seen two solutions:

    1) Create a new folder and drag the .avi file into it. Now try to delete it.

    2) There is some registry modification that can be done that will "release" XP's hold on .avi files. I will have to look it up and get back to you. My recollection is that it involves uncoupling some CSLID registration...

  9. #9
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    Cincinnati, Ohio, USA
    Posts
    7,089
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Error Deleting files

    I've had a few instances where XP won't allow you to delete things. In the case of an AVI file, I discovered that Windows Media Player was the culprit - and I had to make sure that the process wasn't running in Task Manager before I was permitted to kill the file. In a few other cases, it was the OS mistakenly believing that something had the file held open. I don't know if that's the case here, but it's certainly something to check out.
    -Mark

  10. #10
    Silver Lounger
    Join Date
    Jan 2001
    Location
    Long Beach, California, USA
    Posts
    1,912
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Error Deleting files

    Here is a quote about one method used to fix this:
    ___________

    "The fix for Windows XP not letting you delete .avi I've seen this coming up more and more all over the place so I figured I'd stick it here. Avi files (divx) can be trouble in xp. there is a fix to let xp behave much better so it's possible to move or delete large avi files. The obnoxious bug in XP that causes Explorer to read the entire contents of broken AVI files before allowing any access to them is caused by bad behavior of shmedia.dll. To correct this misbehavior in Windows XP, remove the following registry key. HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{87D62D94-71B3-4b9a-9489-5FE6850DC73E}InProcServer32 This will prevent Explorer from loading shmedia.dll in response to file property queries on these files. Just an extra note, if you do a "search" for this key it will not be found, look for it manually it is very easy to find. As always newbie or not, if you FUBAR your registry its your own fault. This fix does work, I use it and have applied it to many XP machines."
    _______________

    Since I don't use XP, this is not an endorsement... I am just passing information along that might be of assistance.

    I found the orginal (it appears) and some other info:

    http://www.dvdrhelp.com/forum/userguides/100406.php
    http://www.xtremepccentral.com/forums/arch.../2003/02/2/3620
    http://searchwin2000.techtarget.com/tip/1,...axonomy=/pr/5e3
    http://superfastcomputer.com/2003_02_23_previous.html

    Pretty consistent reports...

  11. #11
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    Cincinnati, Ohio, USA
    Posts
    7,089
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Error Deleting files

    Thanks R2 - I remember seeing this not long after XP came out, and had forgotten about the fix. The author of that original post that you quoted had it right....it's an obnoxious bug, but my money is on it never getting fixed because it's not a show stopper. For the record, I've made the change myself and had no problems, but of course, YMMV....
    -Mark

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •