>>Ok, glad to help. BTW, I forgot to add to my previous response - just a SWAG :)
>
>Oh, no, not a SWAG - this is not the first time you recommend the API over a VFP's internal command (which is probably a wrapper around an API, though not necessarily the same one). Can you possibly remember the case when the former would work while the latter wouldn't? I think I remember you mentioned something on that.
I meant my original reply that somehow turned into the solution. I was just giving the first idea that came to my head - just to test.
As for using CopyFile instead of COPY FILE - CopyFile preserves the file name casing that's why I like it more than COPY FILE. I'm not sure if there are other circumstances where one would work and another would not.
If it's not broken, fix it until it is.
My Blog