Fully deaktivate the beep

Nov 15, 2008
2
0
#1
I want to turn off the beep and set the options BeepFreq and BeepLength to Zero

But it does beep by some commands: type ShrAlias.exe (just as exsample)

Is there a way to fully deaktivate the beep without deaktivate the windows beep.sys in device manager?
 
#2
Jack wrote:
|| I want to turn off the beep and set the options *BeepFreq* and
|| *BeepLength* to Zero
||
|| But it does beep by some commands: *type ShrAlias.exe* (just as
|| exsample)
||
|| Is there a way to fully deaktivate the beep without deaktivate the
|| windows beep.sys in device manager?

When you send the character BEL (keyboard: control-G, ASCII: 7) to standard
output, as e.g. the TYPE command does, by design of the character code set
it imitates the ringing of a bell on the internal speaker of all PCs,
starting with the original IBM PC. This cannot be turned off without
disconnecting the wires to the speaker, and has no relationship to the BEEP
command.

BTW, the TYPE command is intended only to send a text file to STDOUT, not a
binary one such as ShrAlias.exe. Using TYPE to display any text file that
does not include a BEL character will not cause beeps.
--
HTH, Steve
 

rconn

Administrator
Staff member
May 14, 2008
10,409
95
#3
>I want to turn off the beep and set the options *BeepFreq* and *BeepLength*
>to Zero
>
> But it does beep by some commands: *type ShrAlias.exe* (just as exsample)
>
> Is there a way to fully deaktivate the beep without deaktivate the windows
> beep.sys in device manager?
The beep in TYPE is coming from Windows, not from TCC. You can disable the
beeps that TCC generates by setting BeepFreq to 0, but that won't affect
the sounds coming from Windows. The only way to do that is to turn it off
in the control panel.

Rex Conn
JP Software
 
Nov 15, 2008
2
0
#4
Sorry for the long delay,

I know the type exsample wasn't a good one and I found an other yet.

But why this exsample make a beep in tcc but not in 4nt and cmd?
 
Dec 18, 2008
4
0
#5
I may not understand the question correctly but I was able to disable the beep using this:

sc config beep start= disabled

Glenn

Jack wrote:
|| I want to turn off the beep and set the options *BeepFreq* and
|| *BeepLength* to Zero
||
|| But it does beep by some commands: *type ShrAlias.exe* (just as
|| exsample)
||
|| Is there a way to fully deaktivate the beep without deaktivate the
|| windows beep.sys in device manager?

When you send the character BEL (keyboard: control-G, ASCII: 7) to standard
output, as e.g. the TYPE command does, by design of the character code set
it imitates the ringing of a bell on the internal speaker of all PCs,
starting with the original IBM PC. This cannot be turned off without
disconnecting the wires to the speaker, and has no relationship to the BEEP
command.

BTW, the TYPE command is intended only to send a text file to STDOUT, not a
binary one such as ShrAlias.exe. Using TYPE to display any text file that
does not include a BEL character will not cause beeps.
--
HTH, Steve