Do nothing, successfully.


In the old MS-DOS operating system, the break command would set or clear extended Ctrl-C checking. Under Microsoft Windows the command has no effect, but can be a useful no-op command.

On the command line, BREAK will produce a new line, in a batch file it does not.

BREAK is an internal command.


Do nothing:

C:\> break

Read, but do not display a file:

C:\> Type demo.txt | break

Run an echo command without displaying anything:

C:\> echo Hello | break

Create an empty file:

C:\> break > EmptyFile.txt

“Better bend than break” ~ Scottish Proverb

Related commands

How-To: Redirecting NULL
Equivalent bash command (Linux): true - Do nothing, successfully.

Copyright © 1999-2024
Some rights reserved