Switch PC speaker on and off from Cygwin

zzapper david@tvis.co.uk
Mon Mar 22 00:26:00 GMT 2010

Christopher Faylor wrote in news:20100321173113.GB7732@ednor.casa.cgf.cx:

> On Sun, Mar 21, 2010 at 03:40:59PM +0000, zzapper wrote:
>>I'd like to be able to switch my pc speaker on/off from a script.
>>Any pointers?
> Pointers?  You seem to be talking about dogs rather than hippos.  That's
> entirely off-topic here.
I've DOGoned found a solution


works like a treat (freeware)

nircmd.exe mutesysvolume 0
nircmd.exe mutesysvolume 1

http://zzapper.co.uk/ Technical Tips

More information about the Cygwin-talk mailing list