Cannot delete folder from the desktop...


  1. Posts : 6
    Windows 7 Ultimate x64
       #1

    Cannot delete folder from the desktop...


    I've tried CMD, I've tried dir /x to delete the folder using the 8.3 file name, I've tried booting into safe mode and deleting it from there, I've even tried deleting it in CMD in safe mode... nothing seems to work...





    Any help would be appreciated, thanks.
      My Computer


  2. Posts : 72,046
    64-bit Windows 11 Pro for Workstations
       #2

    Hello Taurine,

    As a test, see if you may be able to open a "Open" "Save as" type dialog and delete the folder from within it instead. I found this method tends to sometimes work for deleting ghost files/folders.


    For example:
    • Open Notepad.
    • Click on File (menu bar) and Open.
    • In the navigation pane, click on Desktop under Favorites.
    • See if you may be able to delete the folder in this Open dialog window.
    If not, then you might see if you may be able to use the free program Unlocker to delete it.
    Hope this helps,
    Shawn
      My Computer


  3. Posts : 6
    Windows 7 Ultimate x64
    Thread Starter
       #3

    Thanks for the help, but none of the options worked for me...

    Btw, it's an empty folder and I cannot rename it. Whenever I try to do something to it, the OS insists that it cannot be found, yet I can open the folder and put files into it.

    EDIT: Ok, the folder name had an ellipsis at the end, but somehow I managed to remove them. Before I removed them, I saw that the folder strangely acted like a file, in that when I tried to rename it, it said "are you sure you want to change the file extension? The file may become unusable-" etc etc, and when the ellipsis disappeared, whenever I tried to open it, it would give this error:



    (notice how the file name strangely has no quotation marks; the folder name has spaces in, and it looks as if the computer is confused because of it...)
    Last edited by Taurine5; 08 Apr 2012 at 12:42. Reason: updated image
      My Computer


  4. Posts : 2,913
    Windows 7 Ultimate x64 SP1
       #4

    Open up an elevated command prompt and navigate to the desktop. Do a dir and see what the directory name is. Use the rd command to remove the directory.
      My Computer


  5. Posts : 72,046
    64-bit Windows 11 Pro for Workstations
       #5

    Taurine,

    If you are unable to delete the folder in a command prompt in Windows 7 as above, then you might see if you may be able to in a command prompt at boot with step 2 in the tutorial below.

    Folder - Delete from Command Prompt
      My Computer


  6. Posts : 6
    Windows 7 Ultimate x64
    Thread Starter
       #6

    kegobeer said:
    Open up an elevated command prompt and navigate to the desktop. Do a dir and see what the directory name is. Use the rd command to remove the directory.
    kegobeer, I didn't exactly know what you meant by "elevated" so I assumed you meant CMD as administrator; this is what it coughed up:



    The OS says it "isn't empty", so I will try and see if I can use any switches to delete the folder and everything it "contains".

    EDIT: Holy crap, I did "rd /s /q <8.3 filename>" and it worked! Thanks everyone for the help, +rep to Brink and kegobeer
      My Computer


  7. Posts : 2,913
    Windows 7 Ultimate x64 SP1
       #7

    Glad you got it sorted.
      My Computer


  8. Posts : 72,046
    64-bit Windows 11 Pro for Workstations
       #8

    That's great news. I'm happy to hear you got it sorted. :)
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 23:13.
Find Us