cls

Syntax

cls[color]

Description

Clears the standard output and changes the background color.

Options

color

Specifies a new background color from the following options:

0—Black

1—Blue

2—Green

3—Cyan

4—Red

5—Magenta

6—Yellow

7—Light gray

Usage

If color is not specified, the background color does not change.

Examples

To clear the standard output without changing the background color:

fs0:\> cls

To clear the standard output and change the background color to cyan:

fs0:\> cls 3

To clear the standard output and change the background to the default color:

fs0:\> cls 0