Microsoft DOS break command
Break can be used to enable or disable the breaking capability of the computer. For example, if you wanted to cancel a batch file or another MS-DOS processes, you can press Ctrl+C for a prompt asking if you want to cancel the current process.
Turning break off will cancel Ctrl+C; however, the user will still be able to press Ctrl+Pause/break and have the capability of getting out of a batch file or current running process.
Note: Newer versions of Windows (Windows ME, Windows 2000, Windows XP, and higher) only include this command for backward compatibility and turning the break off has no effect.
The break command is an internal command and is available in the below Microsoft operating systems.
Windows Vista and later syntax
Sets or clears extended Ctrl+C checking on DOS system
Break syntax is present for compatibility with DOS systems. It has no effect under Windows.
If command extensions are enabled, and running on the Windows platform, then the BREAK command will enter a hard coded breakpoint if being debugged by a debugger.
Windows XP and earlier syntax
Sets or clears extended Ctrl+C checking.
BREAK [ON | OFF]
Type BREAK without a parameter to display the current BREAK setting.
Turns on the break, which allows the Ctrl+C function.
Turns off the break, not allowing Ctrl+C to cancel a process.
- See our break definition for further information and related links on this term.