Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Cannot delete folder from the desktop...


07 Apr 2012   #1

Windows 7 Ultimate x64
 
 
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 System SpecsSystem Spec
.

07 Apr 2012   #2
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

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 System SpecsSystem Spec
08 Apr 2012   #3

Windows 7 Ultimate x64
 
 

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...)
My System SpecsSystem Spec
.


08 Apr 2012   #4

Windows 7 Ultimate x64 SP1
 
 

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 System SpecsSystem Spec
08 Apr 2012   #5
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

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 System SpecsSystem Spec
08 Apr 2012   #6

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by kegobeer View Post
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 System SpecsSystem Spec
08 Apr 2012   #7

Windows 7 Ultimate x64 SP1
 
 

Glad you got it sorted.
My System SpecsSystem Spec
08 Apr 2012   #8
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

That's great news. I'm happy to hear you got it sorted.
My System SpecsSystem Spec
Reply

 Cannot delete folder from the desktop...




Thread Tools



Similar help and support threads for2: Cannot delete folder from the desktop...
Thread Forum
Solved Download folder is on Desktop and won't delete General Discussion
Not able to delete folder in folder infinite structure. General Discussion
Solved Unable to Delete Folder from Desktop: Access Is Denied? Software
Unable to Delete Folder From Desktop (Administrative Problem) General Discussion
I deleted the desktop folder in my personal folder General Discussion
Can't delete a self-created folder on desktop General Discussion
Can't delete a folder... General Discussion

Our Sites

Site Links

About Us

Find 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 03:30 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33