Command Reference — File category — Save and Close All command

# Save and Close All command

## Summary

Saves and Close all open files.

## Description

Saves and closes all open files. This command is equivalent to the Save All command followed by the Close All command.

## How to Run

- Default Menu: File > Save and Close All

- All Commands: File > Close > Save and Close All

- Toolbar:

- Status Bar: None

- Default Shortcut Key: CTRL+SHIFT+E

## Plug-in Command ID

    EEID_SAVE_EXIT_ALL (4118)

## Macros

### [JavaScript]

    editor.ExecuteCommandByID(4118);

### [VBScript]

    editor.ExecuteCommandByID 4118