MUTE the speaker volume?



I take it that there's not a DLL in Windows that does it? I had hoped to
use rundll32.exe to do it from a command line--I didn't want to DL software
to do it.

Mark R. Blain

Does anyone know how to mute (and un-mute) the speakers from the command

Found in:
<[email protected]>
Save the following vbscript as "mute.vbs":

set oShell = CreateObject("WScript.Shell")"Sndvol32"
WScript.Sleep 1500
oShell.SendKeys"{TAB 2} "

Run the script from the command line like this:
cscript mute.vbs

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads