EmEditor Home - EmEditor Help - Command Reference - File category

Close without Save command

Summary

Closes the current file without saving.

Description

This command closes the current file without saving. All changes will be discarded.

How to Run

Plug-in Command ID

Macros

[JavaScript]

editor.ExecuteCommandByID(4120);

[VBScript]

editor.ExecuteCommandByID 4120

Feedback Send feedback on this topic to Emurasoft

Copyright © 2003-2011 by Emurasoft, Inc.