Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: how to mute system volume under windows 7

by dasgar (Deacon)
on Feb 28, 2014 at 06:26 UTC ( #1076473=note: print w/ replies, xml ) Need Help??


in reply to how to mute system volume under windows 7

Not sure if you would be comfortable with this idea, but you could download nircmd and use something like system/exec/backticks to call nircmd.exe to mute/unmute your system volume.

The syntax of nircmd to mute the system volume is nircmd.exe mutesysvolume 1 and use nircmd.exe mutesysvolume 0 to unmute the system volume. On my system running Windows 7 (64-bit), I was able to use both the 32-bit and 64-bit versions of nircmd.exe to mute/unmute the system volume.


Comment on Re: how to mute system volume under windows 7
Select or Download Code
Re^2: how to mute system volume under windows 7
by tbsky (Initiate) on Feb 28, 2014 at 14:22 UTC

    nircmd is small and fast. it is faster than powershell to do the job. so I choose it also. thanks for your help!!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1076473]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2014-08-31 08:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (294 votes), past polls