From: me@somewhere.invalid   
      
   Zaidy036 wrote:   
      
   >On 9/7/2022 5:04 AM, Terry Pinnell wrote:   
   >> Zaidy036 wrote:   
   >>   
   >>> On 9/5/2022 6:13 PM, Zaidy036 wrote:   
   >>>> On 9/5/2022 1:01 PM, Terry Pinnell wrote:   
   >>>>> I have a program that sets alarms, and as well as displaying a message   
   >>>>> at the set date/time it is capable of playing a sound track (.WAV   
   >>>>> file).   
   >>>>>   
   >>>>> But that sound only plays if my speakers are switched on.   
   >>>>>   
   >>>>> Is there a command prompt or batch file that will 'beep' the internal   
   >>>>> 'sounder'? There always was one that got activated to tell you of a   
   >>>>> serious fault when failing to boot-up, so I'm hoping that still exists   
   >>>>> in modern PCs?   
   >>>>   
   >>>> ECHO -G ?   
   >>>>   
   >>> Echo/| CHOICE /N 2> nul & rem BEL ?   
   >>   
   >> I'm a batch novice, but FWIW running neither of those produced any   
   >> sound.   
   >   
   >"CHOICE" worked on my Win 10 Pro BUT just checked and have external   
   >speaker. It gives a beep-beep due to error in choice not valid.   
   >   
   >Check if Choice is available by opening cmd window and type: Choice /?   
      
   Yes, it's available. But your BAT only delivers sound from the   
   external speakers.   
      
   Conclusion: no piezo transducer in modern PCs ;-(   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|