Show/Hide Toolbars

EmEditor Help

Navigation: EmEditor Help > Command Reference > File category

EmEditor Command Reference: Rename and Save command

Scroll Prev Top Next More
EmEditor Home - EmEditor Help - Command Reference - File category

Rename and Save command


Renames and Saves the current file.


Unlike the Save As command, this command renames the current file, then deletes the old file. This command displays the Save As dialog box, which allows you to enter a file name to save the currently opened file. After you specify a new file name, the prompt message "Are you sure you want to delete ...?" appears. Selecting Yes will delete the file with the previous name. Selecting No will not delete the previous name, but save the file as the new name, equivalent to the behavior of the Save As command.

If you want to save the file as a different name but do not want to delete the previous file, use the Save As command instead.

How to Run

Default Menu: File > Rename and Save

All Commands: File > Save > Rename and Save

Toolbar: None

Status Bar: None

Default Shortcut Key: None

Plug-in Command ID






editor.ExecuteCommandByID 4252

Copyright © 2003-2019 by Emurasoft, Inc.