Create a shortcut to a custom command (not an application) on Windows

Is it possible to create a custom command shortcut in Windows to perform some basic actions or change existing keyboard shortcuts?

I suppose for more flexibility, I could just create some batch or perl scripts (or something else), and just create application shortcuts for them, but I was wondering if Windows would be able to provide the flexibility to add custom command shortcuts, maybe through the registry

For example, win 7 presents an ALT + SHIFT + N shortcut to create a new folder, which is just great. But before there was a shortcut for this basic operation, and this is something that someone might want to implement if not available.

+4
source share
2 answers

This is not exactly what you want.

  • But I think it might be useful. Hotkeys (Developer choice)

  • If you just need special keyboard shortcuts to trigger, try Auto Hot Key .
    (End User Choice)

I prefer to use Auto Hot Key,

  • This is an open source utility for Windows.
  • It offers many features besides launching applications,
  • you can make any key or mouse button as a modifier key.
  • You can even BROKE your own Windows keyboard shortcuts, such as Win + E and Win + R.
  • You can also automate many other actions using it.
+11
source

Tasklayout always helps me open my favorite folders and applications using hotkeys. I created additional layouts to block the current Windows session, to hibernate my workstation, etc. The fact is that Tasklayout allows the user to specify the actual command line that should be executed when restoring the layout. Thus, you can configure Tasklayout to run any commands using the shortcut.

0
source

Source: https://habr.com/ru/post/1400956/


All Articles