can not delete a folder

  • Thread starter Robert J. Lafayette
  • Start date
R

Robert J. Lafayette

XP Sp2, on my desktop have a folder that I can not delete.

I did create said folder a while back and deleted the contents.


It is an empty folder and when I attempt to delete it a warning message says
I can not delete it, says it is being shared and it is being used by another
person or program. But to my knowledge it is not being used by another
person or program.

Please advise,

Robert
 
R

Rick Rogers

Failing that, run task manager by hitting ctrl+shift+escape, and on the
processes tab kill explorer.exe. Go to the applications tab and click "new
task", type cmd and click ok. From the prompt run:

cd %userprofile%\desktop
rd /s /q <directory>

Where <directory> is the name of the folder you want to remove from your
desktop, so for example if the directory is MyGarbage, the command would be:

rd /s /q MyGarbage

This should remove it. If it does not, then it is probably in the All Users
desktop, move to that directory and delete it. Then click new task again and
type explorer.exe and click ok to restart the shell.

--
Best of Luck,

Rick Rogers, aka "Nutcase" - Microsoft MVP

Windows help - www.rickrogers.org

Reboot and once back, delete it. If that fails boot to Safe Mode and delete
it.

--

Brian A. Sesko { MS MVP_Shell/User }
Conflicts start where information lacks.
http://basconotw.mvps.org/

Suggested posting do's/don'ts: http://www.dts-l.org/goodpost.htm
How to ask a question: http://support.microsoft.com/kb/555375
 

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

Similar Threads


Top