Close and Open command


Closes the current file and opens another existing file.


This command displays the Open dialog box, and allows you to select a file you would like to open with EmEditor. After a file is selected, a prompt will be displayed asking whether save changes for previous file or not. Selecting either Yes or No will open the selected file.

If the current EmEditor window is untitled and no character is inserted, this command behaves the same as the Open command.

How to Run

  • Default Menu: File > Close and Open

  • All Commands: File > Open > Close and Open

  • Toolbar:

  • Status Bar: None

  • Default Shortcut Key: None

Plug-in Command ID






editor.ExecuteCommandByID 4098