Results 1 to 6 of 6
  1. #1
    4 Star Lounger
    Join Date
    Apr 2001
    Posts
    482
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Folder won't delete (SP1)

    I regularly delete and replace lots of data on my laptop. I have one folder that seems to be constantly stubborn. I try to delete the folder, and I get the message "Cannot remove folder FOLDERNAME: It is being used by another program. Close any programs that might be using the file and try again."

    Several things are strange about this:
    1. I can delete other folders with the same content, no problem.
    2. I could do a fresh reboot and try to delete the folder first thing without opening any applications, and I still get this message.
    3. All the contents of the folder get deleted when I try to delete it. It is just the folder itself that thinks it is being used by something.

    Any ideas?

    Thanks!!
    Troy

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

    Re: Folder won't delete (SP1)

    I'm afraid that this is a frequent problem with XP and that the reasons for it are varied and many. If you search this forum for, say "folder delete" you'll see a number of examples and ideas for why it happens. Assuming you don't have a permissions problem and that the folder is NOT a "system" folder, you may have to resort to a boot to DOS to see if that will work, since you've already tried in Windows AFTER a fresh boot. Let us know what happens if you try that. By the way, I don't know if you're familiar with using the DEL or RD commands. You need to be careful to specify carefully what you want removed so you don't kill more than you mean to delete. If you need guidance, come back with the exact path and folder name and we'll help.

  3. #3
    Uranium Lounger viking33's Avatar
    Join Date
    Jun 2002
    Location
    Cape Cod, Massachusetts, USA
    Posts
    6,308
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Folder won't delete (SP1)

    Troy,
    Just what is the folder ( s ) you are trying to delete?
    Are you trying to delete them using Windows Explorer? Sometimes you have to delete the contents of the folder first, then the folder itself.
    Are the folders marked as read only?
    BOB
    http://lounge.windowssecrets.com/S/flags/USA.gif http://lounge.windowssecrets.com/S/f...sachusetts.gif


    Long ago, there was a time when men cursed and beat on the ground with sticks. It was called witchcraft.
    Today it is called golf!

  4. #4
    2 Star Lounger
    Join Date
    May 2002
    Location
    Nr. Edinburgh, Fife, Scotland
    Posts
    166
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Folder won't delete (SP1)

    Hi,
    This workaround often works.
    Instead of trying to delete the files through Windows Explorer, which causes all sorts of indexing and tunneling to start up when you access the file, open any program which has a

  5. #5
    2 Star Lounger
    Join Date
    Jan 2001
    Location
    Edinburgh, Midlothian, Scotland
    Posts
    144
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Folder won't delete (SP1)

    I get a similar problem deleting individual files in XPp when viewing via "My Computer".

    I've found that hiding/collapsing the "Details" display on the right hand side of your window helps (these will only be displayed if you have the "Common Tasks" option selected in "Tools > Folder View > General").

    I suspect that the "Details" option opens the file/folder to collect information and holds it open for too long. So when you try to delete it, XPp thinks the file/folder is being accessed by another program.

    May be this will help?

    Cheers,

  6. #6
    Uranium Lounger
    Join Date
    Mar 2001
    Location
    New Jersey
    Posts
    6,684
    Thanks
    1
    Thanked 11 Times in 11 Posts

    Re: Folder won't delete (SP1)

    As a workaround, you might try moving the offending folder into another folder (create one in the same location for this purpose) and then delete the newly created folder. Sometimes it works and sometimes it doesn't. <img src=/S/shrug.gif border=0 alt=shrug width=39 height=15>
    <IMG SRC=http://www.wopr.com/w3tuserpics/DocWatson_sig.gif>

Posting Permissions

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