BREAK

(break)


允许或禁止对扩展键CTRL+C的检查。可在命令提示符下或CONFIG.SYS文件中使用该命令。

 

按下CTRL+C,可结束一个程序或活动(如文件排序)。典型地,MS-DOS只当进行读键盘或写屏幕、打印机等操作时,才对CTRL+C进行检查。如果BREAK设置为ON,可使CTRL+C的检查扩展到其它功能中,如磁盘读写操作。

 

BREAK [ON|OFF]

 

显示当前BREAK设置状态,语法形式为:

BREAK

 

CONFIG.SYS文件中,采用下列语法形式:

BREAK=ON|OFF 

 

ON|OFF 允许或禁止对CTRL+C的检查。

 

这个命令是为了与 DOS 系统的兼容而保留的,在 Windows XP里不起作用。

如果命令扩展名被启用,并且操作平台是 Windows XPBREAK 命令会在被调试程序调试时输入一个硬代码中断点。


Sets or Clears Extended CTRL+C checking on DOS system

 

This is present for Compatibility with DOS systems. It has no effect under Windows XP.

 

If Command Extensions are enabled, and running on the Windows XP platform, then the BREAK command will enter a hard coded breakpoint if being debugged by a debugger.