I'm not sure if I am reading this correctly either, but
have you checked to see what the permissions of
E:\GMS\TESTMEMBER\GMS.BAK are? If it is read only
and the rename is trying to overwrite it, it might be
the source of the problem. HTH.
--Jim
Comment on Re: Re: Re: Re: Re: unlink & rename in Win32