Hin = fopen(lcTemp+".fpt") hout=fcreate(lcOutFileName) lnSize=fseek(hin,0,2) fseek(hin,0x204,0) && Move file pointer to offset 0x204 where file size is stored lnSize = 0 for ix=4 to 1 step -1 && Get file size lnSize=lnSize+asc(fread(hin,1))*256^(ix-1) endfor fwrite(hout,fread(hin,lnSize),lnSize) =fclose(hin) and fclose(hout)Cetin