MS-DOS and Windows command line cls command

Updated: 05/21/2018 by Computer Hope
cls command

The cls command allows users to clear all the contents on the screen and leave only a prompt.

Availability

Cls is an internal command and is available in the following Microsoft operating systems.

Cls syntax

CLS

Cls example

cls

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.