Actually, CopyFiles using ShFileOperation with full name specification and Move parameter worked too (though it was a little bit long).
Since it's a one time operation anyway, I guess, I have to move on for now :)
>You can try MoveFile API function.
>
>>>You can use CopyFile for file by file copying.
>>
>>I know, but in this case I have to do it for all three extensions (CDX, DBF, FPT). Not a big deal, though. And then I have to delete files, because in reality I have to move files. And also this case should be executed only once if the main file doesn't exist (in all other cases I will append data to existing file).
>>
>>Anyway, thanks a lot again.
>>
If it's not broken, fix it until it is.
My Blog