Additionally to what bronto said, under Win32, an application that is still running and has the directory in question as its current working directory will also prevent the directory from being deleted.
In reply to Re: Permission denied to delete an empty folder
by Corion
in thread rmtree deletes everything inside the folder but doesn't deletes the root folder him self
by Nelly
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |