Home > Commands A-M > Configuration B

BREAK.SYS


Description | Syntax | Parameters | Switches | Related | Notes | Examples | Errorlevels | Availability

Sets or clears extended CTRL+C checking. You can use this command at the command prompt or in your CONFIG.SYS file.

You can press CTRL+C to stop a program or an activity (file sorting, for example). Typically, MS-DOS checks for CTRL+C only while it reads from the keyboard or writes to the screen or a printer. If you set BREAK to ON, you extend CTRL+C checking to other functions, such as disk read and write operations.


Syntax

BREAK=[ON | OFF]

To display the current BREAK setting:

BREAK


Parameters
ON | OFF (v2.0 NT3.5)
Turns extended CTRL+C checking on or off. Default is: OFF.

Switches

none


Related

BREAK.SYS


Notes
Including BREAK in CONFIG.SYS

The default setting for BREAK is OFF. You can include the BREAK command in your CONFIG.SYS file to enable extended CTRL+C checking every time you start your system.

This is present for Compatibility with DOS systems. It has no effect after Windows 3.5.


Examples

To turn on this extended CTRL+C checking every time you start your system, include the following command in your CONFIG.SYS file:

    BREAK=on

Errorlevels

none.


Availability
Internal
DOS
v3.0 v3.20 v3.05 v3.1 v3.21 v3.25 v3.30 v3.3A v3.3R v3.3T v3.31 v3.40 v4.0 v4.01 v4.01A v5.0 v5.0A v5.00.02 v5.001A v5.01 v5.02 v6.0 v6.10 v6.2 v6.21 v6.22 v6.23 v7.00 v7.0R1 v7.10 v8.00
Windows
none
Windows NT
NT3.5

Last Updated: 2003/07/28
Direct corrections or suggestions to: Rick Lively