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.
To set extended Ctrl-C checking:
To clear extended Ctrl-C checking:
To display the current BREAK setting:
In config.sys, use the following syntax:
- 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.