Folder on desktop can't be deleted

B

bilglas

There's a folder on my desktop that used to contain a few files I was
working with. They're gone now ... the folder is completely empty ... but I
cannot delete the folder itself. When I try, I get that annoying error
message, "The action can't be completed because the folder is open in
another program. Close the folder and try again." Clearly, this folder is
NOT actually open in another program ... not that I'm aware of.

AND!! When I check the PROPERTIES of this folder, it shows that it's set to
READ ONLY. I uncheck that box ... click APPLY, then OK ... and it still
won't delete. Then I check the Properties again, and the READ ONLY box
appears to have, uh, re-checked itself! (I can go through this cycle
multiple times ... same thing, every time.)

Anybody have any suggestions?

Thanks....

bilglas
 
R

Rick Rogers

Hi bilglas,

A) Ignore the Read Only indicator, as it is only applicable to files, not
the folders. This same issue occurs in XP as well. Read Only, even if it was
applicable, wouldn't prevent the folder from being deleted.

B) Open an elevated command prompt by typing CMD into the start/search box,
then right click the entry in the start menu and choose 'run as
administrator'. Now, from the prompt run:

CD %userprofile%\desktop
del /y <folder>

This should remove the folder. If it does not, then keep the command prompt
open and:

C) Hit ctrl+shift+escape to open task manager. On the processes tab, pick
the explorer.exe process and end it to halt the desktop. Switch to the
command prompt window and retry the del command. Afterward, go to the
application tab of task manager and pick 'new task'. Enter Explorer.exe and
click 'ok' to restart the desktop.

--
Best of Luck,

Rick Rogers, aka "Nutcase" - Microsoft MVP

Windows help - www.rickrogers.org
My thoughts http://rick-mvp.blogspot.com
 
B

bilglas

Grateful for the suggestions, "Nutcase" ... but neither effort was
successful. (Also tried RD command instead of CD ... I'm an old DOS
aficionado, myself...)

But I rebooted in Safe Mode, and it deleted instantly... no problems.
Ta-daaaa!

Sure would still LOVE to find out WHY it was happening, and how to prevent
it, in the future. Nice pipe-dream, eh?

b

===========================
 
R

Rick Rogers

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top