Tuesday, 26 March 2013

Error 0x80070052 The directory or file cannot be created - can't delete files - solution

Can't delete folders or files? I kept getting error code 0x80070052 in Windows when trying to delete files, and they just wouldn't delete. Bit of a problem.

However I found that I could permanently delete files (hold down Shift when selecting Delete or pressing the Del key). Ie bypassing the Recycle Bin.

I kicked myself when I realised the answer was simple. Just empty the recycle bin first! (Just rightclick it and choose Empty, for those unfamiliar with the process. It make take a while.) Then you can delete documents, pictures and other files again.image

Nothing to do with file or folder rights or permissions, just as well as I couldn't take ownership of files where I was already the owner!

I just wish the error code was "Recycle Bin too full, please empty it!". That would have been rather more helpful.

Hope my posting this tip saves others some searching.

(If you get error 0x80070052 with USB flash drives apparently the solution there is to move files at the root into an existing folder, or new folder if you can create it.)

No comments: