set safety off local inFile, outFile, lcBuffer, lcFileName, lcSendFileName, lnSec lcFileName="d:\redp\output\customer\website\Cprc0042.txt" lcSendFileName="d:\redp\output\customer\website\test1.txt" lnSec=seconds() inFile= fopen(lcFileName) && Open a file if inFile<0 && File could not be opened wait window nowait "File "+lcFileName+" could not be opened!" return .f. endif outFile=fcreate(lcSendFileName) && Create a file if outFile<0 && File could not be created wait window nowait "File "+lcSendFileName+" could not be created!" return .f. endif *lii=0 do while !feof(inFile) lcBuffer=fread(inFile,10000) && Get the string lcBuffer= strtran (lcBuffer,["],'') && Remove double quotes =fwrite(outFile,lcBuffer) enddo =fclose(inFile) && Close In file =fclose(outFile) && Close Out file ?seconds()-lnSec *modi file (lcSendFileName) lcSendFileName="d:\redp\output\customer\website\test2.txt" lnSec=seconds() inFile= fopen(lcFileName) && Open a file if inFile<0 && File could not be opened wait window nowait "File "+lcFileName+" could not be opened!" return .f. endif outFile=fcreate(lcSendFileName) && Create a file if outFile<0 && File could not be created wait window nowait "File "+lcSendFileName+" could not be created!" return .f. endif lii=0 do while !feof(inFile) lcBuffer=fgets(inFile,1000) && Get the string lcBuffer= strtran (lcBuffer,["],'') && Remove double quotes =fputs(outFile,lcBuffer) *!* lii=lii+1 *!* =fseek(inFile,0,lii*8000) *!* =fseek(outFile,0,lii*8000) enddo =fclose(inFile) && Close In file =fclose(outFile) && Close Out file ?seconds()-lnSecIf files are sitting on the local drive, the second approach works faster (difference about 1 sec.). If they are located on the NetWork drive, the first approach is faster ~3sec. File is 5MB.