clear cmd window windows code example
Example 1: clear in windows cmd
cls #this command clears the command window in Windows Command Prompt
Example 2: clear terminal on windows
; -------------------------------------------------------------------------
; Cntr-L should clear screen
; -------------------------------------------------------------------------
#IfWinActive ahk_class ConsoleWindowClass
^L::
Send cls{Enter}
return
#IfWinActive