1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Why does Windows refuse to delete a user folder?

Discussion in 'Windows XP' started by Roger at CCCC, 2004/10/27.

Thread Status:
Not open for further replies.
  1. 2004/10/27
    Roger at CCCC

    Roger at CCCC Inactive Thread Starter

    Joined:
    2003/05/22
    Messages:
    234
    Likes Received:
    0
    A utility program that I was using created a folder inside My Pictures and now I can't delete it. I don't think there is a virus or other system abnormality, but I do think that the folder name has an illegal character in the name itself. I can enter and use the folder, but when I try to right click on the folder name and then try to delete it, I get the error message: "Cannot delete file: Cannot read from the source file or disk." If I try to rename the folder, then I get the message: "Cannot rename file: Cannot read from the source file or disk." But if I select Open after a right click, the system functions normally. I did notice when another utility program tried to copy files within this folder, an error message indicated a blank space after the last character of the folder name and before the backslash in the front of the file name. That suggests to me that the folder name itself has a bad character at the end of it. So how do I delete this folder with an apparently bad character in the folder name? Thanks for any suggestions.
     
  2. 2004/10/27
    Paul

    Paul Inactive

    Joined:
    2002/01/29
    Messages:
    1,293
    Likes Received:
    1
    Login under the Administrator login, as your login profile which I presume you were in when you loaded the utility is probably locking this folder.

    Check in the task manager under processes that the utility programme isn't running as this will probably lock the deletion. Best to uninstall the utility programme correctly though. But you could End Task from within the processed tab. Carefull not to end task needed processes though!

    Try booting into safe mode and then delete the folder.
     
    Paul,
    #2

  3. to hide this advert.

  4. 2004/10/27
    Roger at CCCC

    Roger at CCCC Inactive Thread Starter

    Joined:
    2003/05/22
    Messages:
    234
    Likes Received:
    0
    Thanks Paul for your response. However, nothing works. I rebooted the system and am quite sure that the utility program is not now running. Also, I rebooted in safe mode, tried the deletion and got the same error message. I continue to think that the problem is that the folder name itself has a bad character in it and this is why the system will not delete it. I would appreciate any further suggestions.
     
  5. 2004/10/27
    surferdude2

    surferdude2 Inactive

    Joined:
    2004/07/04
    Messages:
    4,009
    Likes Received:
    23
    Try using MoveOnBoot. It's freeware and can handle a wide variety of stubborn files and folders. It marks them for deletion and does the job when you reboot. That get around most of the XP system objections.

    After installing it, open the program and when you get the screen that allows you to type the name of the file or folder in, just drag the folder to that screen and the rest is a cake walk.

    Edit: Don't be misled by the context menu that it integrates into the system via the right-click on any file. It is only available when clicking on files and not on folders. That causes some people to think that the program doesn't work on folders. That's not true. You just have to do them the way I mentioned above.
     
    Last edited: 2004/10/27
  6. 2004/10/28
    bg9208

    bg9208 Inactive

    Joined:
    2004/10/04
    Messages:
    252
    Likes Received:
    1
    deleting folder

    H had a similar problem deleting a folder which had appeared unasked in a sub file to docs settings, administrator. Remembering my early windows days, I downloaded a trial copy of Fastlynx which is a file transfer programme which has the added benefit of showing all files including system and hidden and letting you delete the hijacking files. Used with care, it is a very useful tool. Not what is was designed for I'm sure and a bit like knocking a nail in with a screwdriver but it does the job.

    Brian Owen
     
  7. 2004/10/28
    Roger at CCCC

    Roger at CCCC Inactive Thread Starter

    Joined:
    2003/05/22
    Messages:
    234
    Likes Received:
    0
    Thanks for both responses, although neither suggestion worked. Both MoveOnBoot and FastLynx gave the same message "The system cannot find the file specified...."

    However, what DID work was to use the RMDIR /S command in the DOS window to remove the folder that contained the problem subfolder. I did that and the whole thing disappeared. Then I did a CHKDSK to check the directory structure and everything seemed to be OK.

    So the problem is solved. Thanks for your attention !!!
     
  8. 2004/10/28
    surferdude2

    surferdude2 Inactive

    Joined:
    2004/07/04
    Messages:
    4,009
    Likes Received:
    23
    hmm... That's strange since you would have to be removing the directory named "My Pictures" since that's the one that contained the "undeletable" folder. Is that what actually happened? Won't you be needing the "My Pictures" folder or is that not a problem. Perhaps it was recreated. :confused: I thought it was a System folder and protected by XP so as to not let it be deleted. :confused: In any case, MoveOn Boot should have been able to delete the same folder that you did. Your results fly in the face of common logic. You were able to delete a folder that was either system locked or otherwise protected and a program that was designed to do that couldn't.

    All's well that end well I suppose but it's often hard to make sense out of XP and its ways. Thanks for the update.

    Best regards.
     
  9. 2004/10/29
    Roger at CCCC

    Roger at CCCC Inactive Thread Starter

    Joined:
    2003/05/22
    Messages:
    234
    Likes Received:
    0
    Actually, I did NOT try to remove "My Pictures" with MoveOnBoot. I only tried to use MoveOnBoot to remove the problem folder itself, and gave up using MoveOnBoot when it didn't work there. In any event, the system has not complained about what I did so far. And I tend not to use the system supplied folders for anything anyway just because I'm not quite sure about their characteristics, so, no, it's not a problem for me to remove "My Pictures. "
     
  10. 2004/10/29
    Michelle

    Michelle Inactive

    Joined:
    2004/10/29
    Messages:
    1
    Likes Received:
    0
    Go to the command prompt in the start menu and type CHKDSK /F.
    The system will usually tell you that the action will take place on reboot.
    Once the chkdsk is run, the file ACL (access control list) is reset and you should be able to change file / folder properties or delete the file / folder.
    NOTE: Some viruses, and programs will relock the files by setting gargage in the ACL soon after booting, so be quick.
    M.
     
  11. 2004/10/30
    surferdude2

    surferdude2 Inactive

    Joined:
    2004/07/04
    Messages:
    4,009
    Likes Received:
    23
    Michelle, I have never heard of that concept before. I'll be interested to see if anyone is able to use it with good results. I can't imagine how I could test it otherwise but in the mean time I'll add it to my list of methods for these stubborn files. Thanks for your input.

     
    Last edited: 2004/10/30
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.