The EXIT (abbreviated EX) command terminates all action in the editor and saves a copy of the MAIN text buffer in the output file. Format: EXIT [file-spec] [/SEQUENCE:[init:incr]] [/SAVE] If you omit the file specification, the output file name from the command line that invoked EDT is used. If no output file name has been specified, and if /READ_ONLY and /NOOUTPUT have not been specified, then the input file name is used.