Important
此命令不再使用。 它仅用于保留与现有 MS-DOS 文件的兼容性,但它在命令行上不起作用,因为该功能是自动的。
在 MS-DOS 系统上设置或清除扩展的 Ctrl+C 检查。 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]
Note
由于 break 命令不起作用,因此通常用于创建空文件或删除现有文件的内容。 For example:
rem -- cleans the content of the file --
break>log