mikerobb Posted March 21, 2006 Posted March 21, 2006 Recently I have been getting the following error whentrying to delete folders:Error Deleting File or Folder(red circle with white "x") Cannot remove folder blah: Thedirectory is not empty.[OK]Ive tried 'rd <foldername> /s' in DOS but get access denied. Can anyone provide me with some suggestions please.
RJARRRPCGP Posted March 21, 2006 Posted March 21, 2006 That's strange! Because Windows normally lets you delete a folder with files in it!
LLXX Posted March 22, 2006 Posted March 22, 2006 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.
mikerobb Posted March 22, 2006 Author Posted March 22, 2006 (edited) 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 helptry "unlocker" > googleDoesnt work for me. thanks though Edited March 22, 2006 by mikerobb
net_user Posted March 22, 2006 Posted March 22, 2006 from the command promptdrill down to the directory you are having problems with....type this in dir /aif the file called "desktop.ini" is in there....type this inattrib -r -s -h desktop.ini or what ever file name is in that folder...then delete the folderor you can boot up with a live cd such as bartpe and del the directory
LLXX Posted March 23, 2006 Posted March 23, 2006 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 helpEither 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.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now