Sets the name for the autosave file.
Scope: File
Syntax
query autoname
set autoname Drive-Directory-Filename
Option
Drive-Directory-Filename |
The drive ( |
Description
The autoname parameter sets the name under which a file is saved automatically if the conditions set by the autocount or autotime parameters are met.
The default autoname is the 8 character hexadecimal equivalent of the window handle under which the file was first opened. This method is used to minimize the possibility of a duplicate id when using the Editor in a network environment. You can change this name, but should do it before the first autosave.
| Note: | Any changes you made to your file will be autosaved to the file specified by the autoname parameter. The original file is not updated if you quit without saving the file, and the autosaved file is not saved to disk if you exit the Editor normally. |
Example
To name the autosave file, type:
set autoname /place2/markup.c
set autoname \place2\markup.c
The autosave filename is changed to markup.c and is placed in the @dirslash;place2 directory of the current drive.
API Return Code
-2 |
The Drive-Directory-Filename was not valid. Check the syntax requirements for the parameter and try the set command again. |
![]()
autocount Parameter
autotime Parameter
