This is the mail archive of the
cygwin-talk
mailing list for the cygwin project.
Re: Switch PC speaker on and off from Cygwin
Christopher Faylor wrote in 20100321173113.GB7732@ednor.casa.cgf.cx:">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
http://www.nirsoft.net/utils/nircmd.html
works like a treat (freeware)
nircmd.exe mutesysvolume 0
nircmd.exe mutesysvolume 1
--
zzapper
http://zzapper.co.uk/ Technical Tips