That solves the problem with commas, but it looks like you may still have issues if there are quotes in the file.
I know one thing I've done in the past with some of my programs is allow the use of either a double-quote ("), single-quote ('), or grave-quote (`) as string demarkers, which allows strings to contain any two of the three quote-types and still be able to identify them properly. Of course, it will still fail if a string contains all three quote types, but that is a rare situation. EDLIN's solution (at least for MS-DOS 7.1) solves all potential problems with Ctrl-Z since Ctrl-Z (end-of-file) should never appear in the middle of the kinds of files (plain text) that EDLIN works with. _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel