DOSWinCloseall

Purpose

Closes the DOS compatibility window.

Warning

The DOS compatibility window is no longer supported. This documentation is provided as a reference for understanding legacy code.

Format

DOSWinCloseall()

Examples

attr = { 50, 50, 7, 0, 7 };
if not DOSWinOpen("Legacy Window", attr);
   errorlog "Failed to open DOS window, aborting";
   stop;
endif;

DOSWinCloseall;

Remarks

Calling DOSWinCloseall() closes the DOS window immediately, without asking for confirmation. If a program is running, its I/O reverts to the Command window.