How to run a keyboard shortcut via a file?

463 Views Asked by At

Certain programs for Windows have specific keyboard shortcuts that execute specific functions. I was wondering if there is a way to create a small file that can activate any shortcut by clicking on it?

Example: Win+C opens up the charms bar in Windows 8. Can I create a file to click on that opens this function for me?

(I want this file to activate a different keyboard shortcut, not the one mentioned above in my example.)

1

There are 1 best solutions below

0
On BEST ANSWER

It looks like you are trying to create a desktop shortcut.

To do so:

  1. Use My Computer or Windows Explorer to locate the object to which you want to create a shortcut.
  2. Right-click the object, and then click Create shortcut.
  3. Drag the new shortcut to an open area on the desktop.
  4. You can also create a keyboard shortcut that will open or do whatever that shortcut would do if you opened it. See properties.

Reference: https://support.microsoft.com/en-us/kb/140443 (page no longer available since Windows 10)