Skip to main content
Clears the current Windows console screen buffer when a console window exists. If no console window exists, the call returns without doing anything.

Syntax

Aliases

  • consoleclear

Example

Clear the current console screen when a console window exists.