Do user-specified shortcut keys for Windows only work on certain directories?

8,805

Solution 1

It must be in the Start menu folders or the Desktop.

As per the Microsoft Support page, Shortcut key for shortcut does not work:

Symptoms

You are unable to run a shortcut by pressing its shortcut key.

Cause

Shortcut keys work only for shortcuts on the desktop or in the Start menu hierarchy.

Resolution

Make sure that the shortcuts for which you want to use shortcut keys are on the desktop, on the Start menu, or in the Windows\Start Menu\Programs folder.

More Information

Shortcut keys work differently depending on the location of the shortcut. If the shortcut is on the desktop or in the Start menu hierarchy, you can use its shortcut key to start the assigned program, or switch to the program if it is already running.

If the shortcut is not on the desktop or in the Start menu hierarchy, you cannot use its shortcut key to start the assigned program, but you can use its shortcut key to switch to the assigned program if it is already running.

NOTE: Shortcut keys may not work for some programs. For example, shortcut keys do not work for items on the Quick Launch bar.

Solution 2

I guess the problem comes from the fact that Windows will only scan certain directories for links and their keyboard shortcuts. The folders you have mentioned, and where the keyboard command does not work, will most likely be not "scanned" by Windows.

I have found this KB entry for Windows XP where it says that this type of keyboard shortcuts only work for links on the Desktop and inside the Start menu. For Windows 7, I found this entry but it does not specify in which folder the link needs to be.

However, I can confirm that the keyboard shortcut will work when the entry is inside Programs of the start menu.

Therefore, I would suggest that you simply drag and drop the link to the Programs menu, then assign the shortcut again to make sure Windows knows about it and it should work as expected.

Share:
8,805

Related videos on Youtube

galacticninja
Author by

galacticninja

Updated on September 18, 2022

Comments

  • galacticninja
    galacticninja over 1 year

    I am trying to mute my computer's speakers by pressing a shortcut key. My keyboard doesn't have a button for 'Mute' or any other extra multimedia buttons.

    With my keyboard, I mute my computer by creating a shortcut to NirCmd with the mutesysvolume 2 argument (toggle mute on/off). I then assigned this shortcut, a shortcut key of Ctrl + Alt + M by right clicking the shortcut > Properties > Shortcut > Shortcut key.

    However, this only works if I create the shortcut file in the desktop or a subfolder in the desktop.

    I initially tried creating the shortcut in the NirCmd directory in the Program Files folder, but no luck - the shortcut key doesn't work (but the shortcut does). I also tried creating the shortcut in a subdirectory one level under C:\, still to no avail. I then tried creating the shortcut at one directory level under C:\Users\username but the shortcut key still doesn't work. The shortcut keys won't work even if I move the shortcut file (.lnk) to the desktop.

    I tried moving nircmd.exe to the Windows directory so I could call it without specifying the directory, but I still get the same issues above.

    Anyone know the reason why the shortcut key does not work if I put the shortcut file in the directories I mentioned?

    I am using Windows 7, 64-bit with the 64-bit version of NirCmd.

    • Admin
      Admin over 11 years
      There's still a bug in my Windows7-64b SP1. I have set shortcut "keys" in several shortcut "Properties" which are located on the Desktop AND the Start menu's Programs folder tree. They have stopped working. The CTRL+ALT+C I set up for Windows calculator (on Desktop) works every time. Still looking for a fix. (Dec 2012)
    • JinSnow
      JinSnow over 7 years
      Worked on win7: after moving the shortcut file to another folder I have to delete the shortcut key and save it. Then I have to reopen the shortcut and assign the shortcut key. (Need to be done each time I move the shortcut files)
  • Zombo
    Zombo almost 9 years
    Last paragraph is important - key must be set after shortcut is moved to start menu