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.
Best Answer
It must be in the Start menu folders or the Desktop.
As per the Microsoft Support page, Shortcut key for shortcut does not work: