Using EDLIN to Create or Modify Files

In my article on p. 13 I described one method of building batch files. Since the files were short ones, I used the COPY CON command to copy the text of what I entered at the console to a file. Much of the information, even in these short files, was repetitive. I could also use EDLIN, the text editor that is built into DOS, to create batch files. Or I could use EDLIN to edit existing files (for example, one created with the COPY CON method), eliminating some repetitive typing.