Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need the direct path to the system file, not a way to make a shortcut or hotkey.

The reason I need this, is because I am using S-Bar on my MSI laptop, and I can designate one of my custom laptop keys to be whatever I want it to open. It asks for a path. I want to make the path the mute button.

Here's a screenshot so you can see.

Screenshot to define laptop custom key button

NOTE: The file should probably be somewhere in the C:/Windows/System 32/ folder

UPDATE: The P1 button changer (S-Bar), shown in the screenshot above, is not even working. I could have probably linked to the shortcut, if S-Bar even worked. Darn MSI software =(

share|improve this question
Take look at this thread – Raystafarian Feb 7 '12 at 3:29
There is no system path in that thread. Thank you anyways. – techaddict Feb 7 '12 at 4:08
What makes you think the "Mute" action has a path to it? "I want the path to change the font of my Word document." – Feb 7 '12 at 4:26
@techaddict, todda didn’t say there is no folder with fonts in it, they said change the font in a Word document, meaning there is no file that performs that action, just like there is no file that mutes. I don’t know what you are looking for, but there are no EXEs that do nothing but adjust the volume, at least not that come with Windows. Whatever files you are referring to from a “long, long time ago”, were probably third-party files you downloaded. So you may want to download similar files again like Scott suggested. – Synetech Feb 7 '12 at 4:49
No, it was not third party files. The file is sndvol.exe. I finally found it. You can write a VBS file using that. – techaddict Feb 7 '12 at 5:15

You can compile and run a simple AutoHotkey script:

Send, {Volume_Mute}

This will imitate pressing the Mute key, even if your keyboard does not have a dedicated key. I have compiled the script for you, so you may use it with your current software.

Download:, 784 KB

share|improve this answer
anyways, this autohotkey script only mutes. It does not answer my question – techaddict Feb 7 '12 at 6:08
@techaddict I did not attach a virus. It is the above script compiled using AutoHotkey. Your anti-virus software may be too strict. If you download the .exe and use it's path in your software, it will work exactly as you required: "I want to make the path the mute button." – iglvzx Feb 7 '12 at 6:10
Why is it an .exe?? sounds like a virus to me. It should be an .ahk file. Never Download Untrusted Third-Party .exe Files! – techaddict Feb 7 '12 at 6:15
I compiled the script for you. Your example requires a .exe, so I provided one for convenience. – iglvzx Feb 7 '12 at 6:15
@techaddict He gave you the AutoHotkey script. If you didn't want to run an .exe, you could just compile the script yourself. Besides, you still should be running AV software, and if it was a virus, it wouldn't last long on this site, to begin with. :) – Ben Richards Feb 7 '12 at 6:19

Execute this is the command line:

net stop audiosrv

share|improve this answer
I need the System Path. Please see the screenshot for more details. Also, this command won't work if you have separate software that controls your audio. – techaddict Feb 7 '12 at 3:53
@techaddict, separate software does not control the audio, the Windows Audio service is one step above the audio-adapter driver and everything else goes above that. (Theoretically something could interface with the audio hardware, but I have yet to see any.) – Synetech Feb 7 '12 at 4:44
I would advise against this, you don't want to kill a whole service to just mute your audio. This could have potential consequences... – Tom Wijsman Feb 7 '12 at 15:19
@TomWijsman I'm not challenging you on this, but what potential unwanted consequences could there be by stopping and starting this service? – Raystafarian Feb 7 '12 at 15:21
@Raystafarian: Devices, drivers and software that (heavily) depend on it could be affected; why shut down a service if it provides an API to mute it, it's a possible solution but in most occasions an overkill... – Tom Wijsman Feb 7 '12 at 15:24

Here are some programs that can mute. Probably the first would be the best.

  • Nircmd using nircmdc mutesysvolume 2 to toggle mute on and off (works on Windows 7)

(other programs I've seen to control volume, but not used)

share|improve this answer
I need the System Path. Please see the screenshot for more details. It seems like you did not even read my question. – techaddict Feb 7 '12 at 3:54
The Mute app tried to give me a virus and doesn't even work. Good thing I know how to delete startup entries. – techaddict Feb 7 '12 at 4:15
I tried making a shortcut using nircmd, and then linking to the path of the shortcut, but that did not work, since it is a shortcut to a Command, not a File. – techaddict Feb 7 '12 at 4:34
@techaddict, mute.exe is not infected. If you had a problem it is likely with something else on your system. – Synetech Feb 7 '12 at 4:55
@techaddict: The shortcut to point to the file, not the command. Shortcut to nircmd. Then in the shortcut, add in for arguments mutesysvolume 2. – surfasb Feb 7 '12 at 22:19
  1. Install AutoHotKey
  2. Create a new text file. Rename it to F1Mute.ahk, or whatever you want, as long as it ends in .ahk
  3. Open the file (I opened it in Notepad++), and type in the following code:

    F1:: Send, {Volume_Mute}

Now save the file, and double-click it.

This is what I've been doing and it works the best.

share|improve this answer
Why did you post the answer that worked again? Please don't do that, it's considered rude towards people that are trying to help you. This is a good way to not get help the next time from the people involved... – Tom Wijsman Mar 30 '12 at 14:41
Yes, if you wanted to mark something as an answer, you should have marked @iglvzx's answer, which you copied this solution from. – Ben Richards Mar 30 '12 at 18:31
that answer has a downloadable file which showed up as virus. That's not a good answer. – techaddict Apr 3 '12 at 19:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .