Cannot Delete an Empty Folder in Windows 7

Posted by Mike Gates on Super User See other posts from Super User or by Mike Gates
Published on 2012-06-17T19:15:33Z Indexed on 2012/06/17 21:19 UTC
Read the original article Hit count: 212

I've used this question's answer by user "Moab" to give myself permission to delete an empty folder, so that I no longer get "accessed denied". However, now when I try removing this folder, I get a message that says "The process cannot access the file because it is being used by another process." This is merely my "eclipse" (IDE) folder that I totally emptied out and am trying to delete, but for some reason cannot. I've tried quite a few things:

  • Via Windows Explorer:

    • Right Click -> Delete
  • Via Command Prompt

    • RD /S /Q eclipse
    • del /F eclipse
    • rmdir /S eclipse

I'm out of ideas, and I'd really like to delete this folder without having to install any software. I've done a bit of research and this is all I found that I could try. Does anyone have any other ideas?

© Super User or respective owner

Related posts about windows-7

Related posts about command-line