0

How do I create a keyboard shortcut for a command in the Windows command prompt?

For example, to clear the Windows command prompt, the command normally used is cls - analogous to the clear command in Linux. I want create a keyboard shortcut for this. Ideally, I'd like to create the shortcut using ctrl+ L since this keyboard shortcut also works to run the clear command in the Linux command prompt.

Is that possible to create the new commands for Windows command prompt?

baelx
  • 2,996
  • Are you looking to create new commands or new keyboard shortcuts? Please edit your questions and provide the necessary clarification required to answer your question. – Ramhound Feb 06 '19 at 11:57
  • 1
    AT Ramhound obviously a keyboard shortcut that runs the cls command would satisfy what he is asking for. He even gave an example - that example. – barlop Feb 06 '19 at 12:29
  • 1
    this may help https://superuser.com/questions/585238/clear-windows-command-prompt-screen-using-keyboard-shortcuts and funnily enough AT ramhound you actually commented on an answer on that question a year ago – barlop Feb 06 '19 at 12:31

0 Answers0