The message "The process cannot access the file because it is being used by another process" is rather misleading. It should really drop the "by another process" part because it can easily be the same process that is "using" the file and preventing it from being deleted.
See (tye)Re: unlink & rename in Win32 (from two days ago; did you look around or even search/Super Search?) for more background on this error. (:
- tye (but my friends call me "Tye")In reply to (tye)Re: unlink problem
by tye
in thread unlink problem
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |