Microsoft DOS cls command

Updated: 05/21/2018 by Computer Hope

About cls

Cls is a command that allows you to clear the complete contents of the screen and leave only a prompt.


The cls command is an internal command and is available in the below Microsoft operating systems.

Cls syntax


Cls Examples


Running the cls command at the command prompt would clear your screen of all previous text and only return the prompt.

Additional information

  • See our clear definition for further information and related links on this term.