# New (Pop-up Menu) command
## Summary

Shows a pop-up menu to create a new file with a specified configuration.

## Description

This command displays a new EmEditor window and prepares to start writing a
new document. This command will not create a file on disk immediately. The
file will not be created until you select the [**Save** command](/en/cmd/file/file_save) or the [**Save As** command](/en/cmd/file/file_save_as) after you
write something.

This command displays a popup menu, and allows you to select a
configuration to begin with (such as Text, HTML, VBScript, etc). If the specified configuration is configured with a template file,
the template will be used as the starting document. A template file, encoding for a new file,
the newline characters, and the font category can be set in
the [**New File** **Details** dialog box](/en/dlg/properties/file/new_details/), which can be accessed by clicking the
[**Properties for Current Configuration** button](/en/cmd/tools/customize) (or press ALT + ENTER), selecting the
[**File** page](/en/dlg/properties/file/), and then
clicking the **New**
**Files**
button.

## How to Run

- Default Menu: None
- [All Commands](/en/cmd/tools/all_commands): **File** \> **New** \> **New (Pop-up Menu)**
- Toolbar: ![New Text](/en/_images/filenew.webp) (on
the arrow)
- Status Bar: None
- Default Shortcut Key: None

## Plug-in Command ID

```
EEID_NEW_CONFIG_POPUP (4281)
```

## Macros

## \[JavaScript\]

```javascript
editor.ExecuteCommandByID(4281);
```

## \[VBScript\]

```vbscript
editor.ExecuteCommandByID 4281
```
