clear in cmd windows code example

Example 1: clear cmd

just type cls and hit enter

Example 2: clear in windows cmd

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

Example 3: clear terminal on windows

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

#IfWinActive

Tags:

Misc Example