This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Download Microsoft Edge
More info about Internet Explorer and Microsoft Edge
Important
This command is no longer in use. It is included only to preserve compatibility with existing MS-DOS files, but it has no effect at the command line because the functionality is automatic.
Sets or clears extended CTRL+C checking on MS-DOS systems. If used without parameters,
break
displays the existing setting value.
If command extensions are enabled and running on the Windows platform, inserting the
break
command into a batch file enters a hard-coded breakpoint if being debugged by a debugger.
Syntax
break=[on|off]
Because the break command has no effect, it is often used to create empty files or delete the content of an existing file. For example:
rem -- cleans the content of the file --
break>log
Command-Line Syntax Key
break command