Command Reference — File category — Save As command

# Save As command

## Summary

Saves the current file with a new name.

## Description

This command displays the Save As dialog box, which allows you to enter a file name to save the currently opened file, and specify a file type, encoding, newline characters, and destination folder.

If you want to save a titled file under the same name immediately, use the Save command instead.

## How to Run

- Default Menu: File > Save As

- All Commands: File > Save > Save As

- Toolbar:

- Status Bar: None

- Default Shortcut Key: None

## Plug-in Command ID

    EEID_FILE_SAVE_AS (4100)

## Macros

### [JavaScript]

    editor.ExecuteCommandByID(4100);

### [VBScript]

    editor.ExecuteCommandByID 4100