Use the CREATE, REPLACE or SAVEAS primary commands to specify a file to be written from the data being edited. CREATE writes a new file while REPLACE rewrites a file if it exists, or creates it if it does not already exist. The SAVEAS command will create a new file and immediately switch the current Edit Tab to the newly created file. The process of creating and replacing data is very similar. However, remember that when you replace data, the original data is deleted and replaced with the new data.

SAVEAS always writes the entire contents of the edit file, but the CREATE and REPLACE commands can use all the selection capabilities of the line-range-operands to specify what lines are to be written.

When a SAVE command is issued for a newly created file that does not yet have a name (you will know this by the file-tab label of (Empty) for this file), you will see the same file-saving dialog that you will see when SAVEAS is used. A window will appear with a title of Specify file to SaveAs, where you can enter the new file's name.

Enter CREATE, REPLACE or SAVEAS on the Command line, followed by the name of the file to be created or replaced. For the CREATE and REPLACE commands you can also use all the selection capabilities of the line-range-operands to specify what lines are to be written. If you omit the line numbers, you can use the C/CC or M/MM line commands  to specify which lines are to be copied or moved. Then press Enter.

If you omit the file name with the CREATE, REPLACE or SAVEAS commands, the editor displays a standard Windows Save As dialog requesting the file name you want created or replaced.


When no operand at all or only a simple unqualified filename is provided for the CREATE command, the default directory used for writing the file or for the file open dialog's starting directory will be determined as follows:

    • If there is an active file being edited in the tab where the command is issued, then the path for that active file is used as the default for the command.

    • If there is no active file (i.e. the tab header displays (Empty), the current displayed directory of File Manager will be used.

In addition to these commands, you can save every open edit session by using the SAVEALL command. See  SAVEALL - Save All Current Tabs for more information.

Created with the Personal Edition of HelpNDoc: Full-featured Kindle eBooks generator