BREAK


Type: Internal (2.0 and later)

Syntax:

BREAK
BREAK on|off

Purpose: Used from the DOS prompt or in a batch file or in the CONFIG.SYS file to set (or display) whether or not DOS checks for a Ctrl + Break key combination.

Discussion

DOS normally detects a press of the Ctrl + Break or Ctrl + C key combination only while checking for keyboard input or while sending characters to the screen.

Some application programs automatically reset BREAK (either ON or OFF); this will cancel the BREAK options you set. For more information on the BREAK command, refer to Chapter 6, Tips for Advanced Users.

Examples

Enter

break on

to tell DOS to check for the Ctrl + C key combination. To determine the current BREAK setting, enter

break

Back to the Easy DOS Command Index