Hi Mike,
If you're using VFP 6, this is quite simple to do using the FileToStr and StrToFile commands:
StrToFile(FileToStr('c:\file1.txt') + FileToStr('c:\file2.txt') , 'c:\file3.txt')
>Dear all,
>
>Is it possible to use the win32 api to concatenate files? I am hoping not to call the dos command and issue copy file1.txt+file2.txt file3.txt. I have looked briefly through the api documentation but none of the functions seemed to fit the bill.
kenweber
GCom2 Solutions
Microsoft Certified Professional