Search code examples
windowsterminalcmdsignals

how to implement ctrl+l for windows cmd?


In linux terminal as I give ctrl+L signal, terminal screen clears. since I am new in windows programming and I found that cls command is used to clear screen. How can I make ctrl+L signal in case of windows cmd to clear screen.


Solution

  • You should use the cls command as a key shortcut will be more difficult. There is something called AutoHotkey, you can try that and tell us if that helped you :)

    Click here to go to their website: AutoHotkey