Prevents the file from being saved.
Scope: File
Syntax
query nosave
set nosave { on | off | inverse }
Options
on |
Prevent file from being saved or autosaved. |
off |
Do not suppress save or autosave. File can be saved if it is not in the read-only mode. This is the default value. |
inverse |
Toggle between on and off. |
Description
The nosave parameter prevents a file from being autosaved or saved by the save command. Setting the nosave parameter does not prevent other Editor instances from changing the file.
Example
To prevent a file from being saved, type:
set nosave on
API Return Code
-2 |
The option specified is not valid. |
![]()
save Command
readonly Parameter
