Download LPEX Editor User's Guide

Transcript
“Parameters Summary” on page 143
file Command
Closes all file views of the file, saving the changes.
Scope: File
Syntax
Parameters
Drive-Directory-Filename
/asshown or /as
/nofilelist or /nfl
The drive, directory, and filename to which the file is saved.
This option lets you save a different view of the file. The
data is saved exactly as it is displayed at the time the
command is issued.
The file saved is not shown in the recently-accessed file list
in the File pull-down menu in the Editor window.
Description
The file command ends the editing of the current file by saving it to a file and
then quits from the file. If the save fails, the file is not closed. If a Filename is
not specified, the name is derived from the current file name.
Examples
1. To save a file view of a file called testdoc1.doc to another file name in a
different directory and then quit, type:
file \example\newtest1.doc
2. To save and close a file that has three file views open, type:
file newtest1.doc
All changes made to all file views are saved to the file name.
3. To save a file as it appears in the view and then close the view, type:
file /asshown
All changes made to the file in the view are saved to the current file name
when the Editor is closed. Changes made to other views, if not copied to
this view, are not saved.
Chapter 8. References
81