clear CR = chr(13) LF = chr(10) CRLF = CR+LF nCount = 0 new File( ).copy( "competitor.csv", "competitor_lf.csv" ) fIn = new file() fIn.open('competitor_lf.csv') fOut = new file() fOut.create('competitor.csv') cRead1 = fIn.read(1) fOut.write(cRead1) do while not fIn.eof() cRead2 = fIn.read(1) if cRead2 = chr(10) and cRead1 <> chr(13) fOut.write(CRLF) else fOut.write(cRead2) endif cRead1 = cRead2 nCount ++ If nCount%300 = 0 ?? '*' endif enddo ? fIn.close() fOut.close() new File().delete('competitor_lf.csv')