SitePoint Sponsor

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 25 of 26
  1. #1
    SitePoint Guru
    Join Date
    Oct 2001
    Location
    USA
    Posts
    764
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Can not delete folder in XP

    This is bizarre to me. I have a folder on my HD that I can not delete for the life of me. It gives me the "access denied" error when I try to delete. The file is not in use as far as I can see, and it is not write protected. I have rebooted and tried to delete it, and it just wont go. Any ideas?

  2. #2
    100% Windoze-free earther's Avatar
    Join Date
    Feb 2003
    Location
    Linuxland
    Posts
    2,788
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try renaming it. That has worked for me.

  3. #3
    SitePoint Addict jojoyohan's Avatar
    Join Date
    Mar 2005
    Location
    Long Island, NY
    Posts
    247
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If its really bothering you try booting in safe mode.
    8 Great Domains On Sale!
    Park your unused domains here and earn money!
    Selling Highest Paying Keywords list and e-books available here.

  4. #4
    Web Design Ireland cianuro's Avatar
    Join Date
    Jun 2004
    Location
    Dublin Ireland
    Posts
    914
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Has the folder got images in it? Change view thumbnails to view list and delete the thumbs.db

    Try again.

  5. #5
    SitePoint Addict s|k's Avatar
    Join Date
    Apr 2002
    Location
    Hilo, Hawai'i
    Posts
    266
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If a program is using it you can't delete it or rename it. End the program using it, and if you don't know which program is using the file, boot up in safe mode like jojoyohan said.

  6. #6
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    17,260
    Mentioned
    196 Post(s)
    Tagged
    2 Thread(s)

    delete windows folder

    In '98 (I know), it's right-click, -> Properties. Then if any Attributes are checked, uncheck them.

  7. #7
    SitePoint Wizard silver trophy rushiku's Avatar
    Join Date
    Dec 2003
    Location
    A van down by the river
    Posts
    2,056
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    moveonboot can take care of this.

  8. #8
    SitePoint Guru
    Join Date
    Oct 2001
    Location
    USA
    Posts
    764
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Renaming did not work

    Safe mode did not work

    I am just wondering what the heck program could be using these folders, they are nothing folders that were unzipped from a non valid archive that errored out. So the folders are the only things that showed up on the HD with nothing in them.

  9. #9
    Night Elf silver trophybronze trophy Varelse's Avatar
    Join Date
    Mar 2005
    Location
    eu
    Posts
    5,967
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    When I really have to remove a folder like this - I do it in pure DOS mode starting from floppy disc. It will work if the first letters of the folder name are unique - deleting random XXXXXX~1 folder wouldn't be a good idea for sure.
    FreelanceDaddy - freelancer's personal advisor
    █ Guide and advice for freelancers starting their career
    █ Over 1000 projects posted on freelance markets every day
    █ One-stop resource for online freelancing

  10. #10
    SitePoint Guru
    Join Date
    Oct 2001
    Location
    USA
    Posts
    764
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by rushiku
    moveonboot can take care of this.
    This did not work either.

  11. #11
    Programming Team silver trophybronze trophy
    Mittineague's Avatar
    Join Date
    Jul 2005
    Location
    West Springfield, Massachusetts
    Posts
    17,260
    Mentioned
    196 Post(s)
    Tagged
    2 Thread(s)

    "empty" folders

    Quote Originally Posted by 321web
    ... with nothing in them. ...
    If you think this because you looked at them using "explorer" you may be wrong. You should look at them from either MS-DOS or from "Find"
    After I unzip a file with "stuffit" a folder named "My Archives" is created. Using explorer it's empty. If I use find, choose the folder, and "Find Now" all files, it contains a file named index.dat
    I was wondering, you couldn't uncheck the folder's properties (archive, read-only, system) with XP?

  12. #12
    SitePoint Wizard silver trophy rushiku's Avatar
    Join Date
    Dec 2003
    Location
    A van down by the river
    Posts
    2,056
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by 321web
    This did not work either.
    That's a first...did you mark it for deletion with moveonboot, then reboot?
    Sorry if I'm asking the obvious, never had it fail before.

    On another thought, it could be that it worked, but the folder was replaced by whatever crapware you're infected with. (When I have to resort to moveonboot, it has always been in an effort to clean up after some nasty software)

    Run hijackthis and get rid of the offending software first, then use moveonboot to clean up.

  13. #13
    SitePoint Member
    Join Date
    Sep 2005
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No safemode if its running will still not allow ou to delete. DOS is only way. The one in XP will do it even while xp is running. ITs simple permision issues and dos wont ask (diff from locked files however). Go to your start>programs>accerios>command prompt. Navigate to that file and type del (filename)

    thats it.

  14. #14
    SitePoint Member
    Join Date
    Oct 2005
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I tried in dos, and the file doesnt show there.

    It shows in the folder after i unhide system folders. It says "Cannot delete Thumbs.db: Access denied." All deleting efforts fail; renaming is not allowed.

    I think this file is corrupted. Can I erase it somehow?

  15. #15
    100% Windoze-free earther's Avatar
    Join Date
    Feb 2003
    Location
    Linuxland
    Posts
    2,788
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I dunno what your problem is. I delete Thumbs.db all the time. You must have administrative privileges to do so though.

    Another thought, I think there is an option somewhere (don't have time to find it now) to not create Thumbs.db. Don't know whether changing that setting after the fact would delete it though.

  16. #16
    SitePoint Addict
    Join Date
    Jul 2001
    Posts
    326
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can you see/delete the folder with freeCommander ?

  17. #17
    SitePoint Wizard
    Join Date
    Jan 2001
    Location
    Grand Rapids, MI
    Posts
    1,284
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by earther
    Another thought, I think there is an option somewhere (don't have time to find it now) to not create Thumbs.db. Don't know whether changing that setting after the fact would delete it though.
    In My Computer (or any folder) > Click Tools in the menu bar > Folder Options > View tab > Check 'Do not cache thumbnails'

    No more Thumbs.db problems. Sorry, don't know how to delete it. I'm sure a reformat would work.

  18. #18
    Life is strife TriGeminal's Avatar
    Join Date
    Apr 2005
    Location
    Trigeminal Ganglion
    Posts
    633
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'd many problems like that, but I slove it at once .. many solutions here..
    - Do you have more than one operation system? enter the other OS and delete the file/folder.

    - You can use a boot disc, enter DOS, use delete command for:
    Delete File:
    del filename.extension

    Delete folder
    deltree foldername

    I'm sure I've wrote something already written in this thread, sorry I didn't read all posts
    "The only thing necessary for the triumph of evil ..
    .. is for good men to do nothing"
    Edmund Burke.

  19. #19
    SitePoint Member
    Join Date
    Oct 2005
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you didn't delete it, try kill box software:
    http://www.bleepingcomputer.com/files/killbox.php
    It works well here...

  20. #20
    SitePoint Member
    Join Date
    Apr 2008
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I know that I'm responding to a VERY old thread, but in case anyone else happens to ask this question, I figured I'd answer it.

    The thumbs.db file is a hidden, archived system file that is generated when explorer creates a thumbnail image for your screen to display.

    This file is set as a 'system' file, and can be a pain if you are trying to remove/delete a directory.
    It can also cause the dreaded 'Program must be shut down' error when viewing your explorer window if the file should become corrupted.

    Fixing the problem is not as hard as it may look.

    If you just want to delete the entire directory:
    First, open a DOS prompt and navigate to the directory that is giving you the problems.

    Then, type in this: attrib -a -h -r -s *.* and hit enter.

    This has the effect of removing the 'archived' , 'hidden', 'read only' and 'system' attributes for every file in the directory.

    The next thing to do is type this: del *.* and hit enter.

    That will delete every file in the directory.

    If, however, you only need to delete the thumbs.db file (which you wont be able to see if it is hidden), you would do it this way:

    Using the DOS prompt, navigate to the directory giving you problems.
    Type in this: attrib -h -s -r -a thumbs.db and hit enter

    This will remove the attributes that are hiding the thumbs.db file, so you can delete it.

    To delete it in that same DOS window, just type DEL Thumbs.db and hit enter.

    That should solve your thumbs.db problems

    WHeis

  21. #21
    SitePoint Enthusiast
    Join Date
    Apr 2008
    Posts
    79
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    delete it on a window safe mode, that always work for me

  22. #22
    SitePoint Zealot
    Join Date
    Apr 2008
    Posts
    171
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try Unlocker.

  23. #23
    SitePoint Zealot internetSurfer's Avatar
    Join Date
    Jan 2008
    Location
    NYC
    Posts
    140
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Yankee85 View Post
    Try Unlocker.
    Recommend unlocker and delete doctor.

    Unlocker
    http://www.softpedia.com/get/System/...Unlocker.shtml

    Delete Doctor
    http://www.softpedia.com/get/System/...e-Doctor.shtml
    Last edited by internetSurfer; Apr 26, 2008 at 16:57.

  24. #24
    SitePoint Enthusiast
    Join Date
    Apr 2008
    Posts
    79
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i think there might a program hidden in there and its running.

  25. #25
    SitePoint Member
    Join Date
    Nov 2010
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oh i had the same problem,these files become stacked and are due to long paths,use the tool available at http://pathtoodeep.com ,it is a tool which deletes and also searches such undeleteable files and also assists in installation and sharing of long pathed files


Bookmarks

Posting Permissions

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