You can use functions like FILETOSTR() and STRTOFILE() this way:
mFile1 = filetostr(“myfile.txt)
mfile1 = mfile1 + chr(10) + fiiletostr(“myfile2”)
.
.
.
strtofilr(mfile1,”myresulfile”)
this is one way to do it.
>Hey guys,
>I am new to fox pro. However, I need code that will merge two or more text files or perhaps someone could point me to a reference source where I could research the code.
B.D.H.