MS-DOS and Windows command line break command
The break command may 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 can still press Ctrl+Pause/break and have the capability of getting out of a batch file or current running process.
Break is an internal command and is available in the following Microsoft operating systems.
- All Versions of MS-DOS
- Windows 95
- Windows 98
- Windows ME
- Windows NT
- Windows 2000
- Windows XP
- Windows Vista
- Windows 7
- Windows 8
- Windows 10
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.