>Hi Sergey,
>
>There's a caveat when using the Win API Copy routine. If the file already exists, the case of the file will remain that of the existing file no matter what you pass to the routine. No such problem with renaming via MoveFile.
>
Thanks Marshal. I didn't know that but it is easily fixed by deleting destination file if it exists.
--sb--