windows terminal clear code example

Example 1: clear terminal windows

cls
===============================
will clear the windows terminal

Example 2: clear cmd

just type cls and hit enter

Example 3: windows clear terminal

Type in "cls" and press enter

Example 4: clear in windows cmd

cls  #this command clears the command window in Windows Command Prompt

Example 5: clear terminal on windows

; -------------------------------------------------------------------------
; Cntr-L should clear screen
; -------------------------------------------------------------------------
#IfWinActive ahk_class ConsoleWindowClass
^L::
Send cls{Enter}
return

#IfWinActive