cls
Type cls
at the prompt to clear the screen and the
screen buffer, useful for privacy concerns or simply to reduce
clutter. The difference between using cls
and
simply closing the current command prompt window and opening a new
one, is that you're working environment (such as the
current directory) is preserved with cls
.
cls
is also useful in complex batch files, for
clearing the screen after one set of interactions or command output.
The name cls
(Clear Screen) refers to the old days
when DOS owned the whole screen.