ln_hnd1 = FOPEN('file1.txt',2) && Open first file =FSEEK(ln_hnd1, 0, 2) && go bottom ln_hnd2 = FOPEN('file2.txt',2) && Open Second File DO WHILE .NOT. FEOF(ln_hnd2) =FWRITE(ln_hnd1, FREAD(ln_hnd2, 1024 * 1024)) ENDDO =FCLOSE(ln_hnd1) =FCLOSE(ln_hnd2)Or you could use the FILETOSTR functios and the STRTOFILE if the files aren't too large
=STRTOFILE(FILETOSTR('file1.txt') + FILETOSTR('file2.txt'), 'file1.txt')