home *** CD-ROM | disk | FTP | other *** search
- Example input: What it means (the Return, Enter or <──┘ key
- must be pressed after each command line. EDLIN
- prints out a line number and ":*" before each
- line displayed or to be edited.
-
- C>EDLIN TEST.TXT<──┘ The EDLIN command is executed.
- New file Since the file TEST.TXT did not previously
- exist, the new file prompt is printed.
- *I<──┘ An Insert command is entered. By default,
- the first line inserted will be just before
- the end of file.
- 1:*"This is a test, only one test!"<──┘
- 2:*Ctrl-Z<──┘
- One line of text is entered, and then the
- insert mode is ended, by entering the Ctrl-Z
- character on a line by itself.
- *E<──┘ An End command is entered. EDLIN writes out
- the file, and terminates processing.
- C>EDLIN TEST.TXT<──┘ The EDLIN command is executed again.
- End of input file The file TEST.TXT now exists, so a different
- prompt is printed.
- *P<──┘ A Page command is entered, to print 23 lines
- of the file. By default, it begins with line 1.
- 1:*"This is a test, only one test!"
- *Q<──┘ A Quit command is entered.
- Abort edit (Y/N)?Y<──┘ EDLIN asks if all modifications to the file
- are to be lost and the file left unchanged.
- A "Y" response is entered, and EDLIN terminates
- processing.
-
- Also, see the RD RDSTAR topic for examples of EDLIN use in BATCH files.