Jump to content

The Directory is not empty


mikerobb

Recommended Posts

Recently I have been getting the following error when

trying to delete folders:

Error Deleting File or Folder

(red circle with white "x") Cannot remove folder blah: The

directory is not empty.

[OK]

Ive tried 'rd <foldername> /s' in DOS but get access denied. Can anyone provide me with some suggestions please.

Link to comment
Share on other sites


From the console prompt do DIR /A. There's probably a desktop.ini still sitting in there. ATTRIB -S -H -R *.* and then DEL *.* before removing the directory.

"Unable to change attribute - C:pagefile.sys"

this is the response i get. any ideas. btw thanks guys for your help

try "unlocker" > google

Doesnt work for me. thanks though

Edited by mikerobb
Link to comment
Share on other sites

from the command prompt

drill down to the directory you are having problems with....

type this in

dir /a

if the file called "desktop.ini" is in there....type this in

attrib -r -s -h desktop.ini

or what ever file name is in that folder...

then delete the folder

or you can boot up with a live cd such as bartpe and del the directory

Link to comment
Share on other sites

From the console prompt do DIR /A. There's probably a desktop.ini still sitting in there. ATTRIB -S -H -R *.* and then DEL *.* before removing the directory.

"Unable to change attribute - C:pagefile.sys"

this is the response i get. any ideas. btw thanks guys for your help

Either you're trying to wipe the root of the drive or your pagefile has been set to the directory you're trying to remove. Change the location of the pagefile to somewhere else, reboot, and then try again.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...