I know it will sound ridiculous, but make certain your current directory is not within the directory tree you are deleting.
I had this happen in a previous system where an in-house module was changing the directory on me. Under Linux, this did not cause an immediate problem (you can delete your current directory). On Windows, it caused an immediate failure.
In reply to Re: rmtree() is failing after some time
by gwadej
in thread rmtree() is failing after some time
by KristinaBurden
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |