Arbortext Command Language > Commands > save
  
save
save [-pi | -nopi]
save saves the document that is being edited.
To safeguard against data loss, Arbortext Editor first saves the file to a temporary location; if space is available, the original file is deleted and the temporary file is renamed with the name of the original file.
save has the following options:
-pi — Saves Arbortext Editor processing instructions with the document.
This is the equivalent of setting the set writepi command to -all.
-nopi — Removes all Arbortext Editor processing instructions (except change tracking processing instructions) and may be useful for exporting the document to another system.
This is the equivalent of setting the set writepi command to -none.
Arbortext Editor processing instructions include those representing the _link and _font tags, user-defined tags, cursor location, detailing state. If you want to save an HTML file with no PIs, you can also use the File > Save for Browsers option that is available when editing an HTML 4.0 file.
If the save, write or save_as commands do not specify whether to write Arbortext Editor processing instructions, they use the value of the set writepi command.
Examples
save
sav
You can also use the set writepi command to specify whether the write, save or save_as commands save Arbortext Editor processing instructions.
Related topic
Opening, referencing, and saving files