Break

Index

Sets or clears extended CTRL-C checking. You can use this command at the command prompt, in a batch file, or in your config.sys file.

Syntax:

To set extended Ctrl-C checking:
BREAK On

To clear extended Ctrl-C checking:
BREAK Off

To display the current BREAK setting:
BREAK

In config.sys, use the following syntax:

BREAK=On|Off

Notes:

  • By default, whenever Dos accepts input from the keyboard or writes to the screen or printer, the keyboard buffer is checked for the Ctrl-C and Ctrl-Break combinations. If found, the current Dos command is terminated. In some cases, especially in batch programs, it is useful to have extra checks for Ctrl-C.
  • If BREAK is Off (default), Ctrl-C checking occurs only when Windows reads from the keyboard or writes to the screen or a printer.
  • If BREAK is set to On, Ctrl-C checking is extended to other functions, such as disk read and write operations and file sorting.

File Details:

Internal


This page last revised:
December 9, 1999.