Command: cls
CLS clears the screen and resets the character colours to white
on black.
CLS is a BATCH-FILE / AUTOEXEC.BAT / FDAUTO.BAT command.
It can also be used in command line.
Syntax:
cls
Options:
- none -
Comments:
CLS removes the whole text on the screen.
CLS can also be used outside a batch file.
CLS is a command internal to command.com and needs no other file
in order to work.
Examples:
IN A .BAT FILE / AUTOEXEC.BAT OR in COMMAND LINE:
cls
See also:
autoexec.bat/fdauto.bat
batch files
command.com/freecom
echo
type
Copyright © 1998 Jim Hall, updated 2007 and 2022 by W. Spiegl.
This file is derived from the FreeDOS Spec Command HOWTO.
See the file H2Cpying for copying conditions.