Command Reference — File category — Close All (Current Desktop Only) command

# Close All (Current Desktop Only) command

## Summary

Closes all open files in the current virtual desktop.

## Description

Closes all open files in the current virtual desktop.

## How to Run

- Default Menu: None

- All Commands: File > Close > Close All (Current Desktop Only)

- Toolbar: None

- Status Bar: None

- Default Shortcut Key: None

## Plug-in Command ID

    EEID_CLOSE_DESKTOP (3935)

## Macros

### [JavaScript]

    editor.ExecuteCommandByID(3935);

### [VBScript]

    editor.ExecuteCommandByID 3935