Specifications
88 Version 2.0
cls
Summary
Clears the standard output and optionally changes the background color.
Usage
cls [color]
Options
color - New background color
0 - Black
1 - Blue
2 - Green
3 - Cyan
4 - Red
5 - Magenta
6 - Yellow
7 - Light gray
Description
This command clears the standard output device with an optional background color
attribute. If color is not specified, then the background color does not change.
Status Codes Returned
SHELL_SUCCESS The action was completed as requested.
SHELL_INVALID_PARAMETER One of the passed in parameters was incorrectly formatted or its
value was out of bounds.
SHELL_SECURITY_VIOLATION This function was not performed due to a security violation
SHELL_NOT_FOUND The requested file was not found.
Examples
To clear standard output without changing the background color:
fs0:\> cls
To clear standard output and change the background color to cyan:
fs0:\> cls 3
To clear standard output and change the background to the default color:
fs0:\> cls 0










