Send a beep to the system speaker or turn the system sound on or off.
BEEP [frequency duration] [...]
BEEP [ON | OFF]
frequency Specifies the sound frequency, in hertz. Must be in the range 37 through 32767. duration Specifies the sound duration, in milliseconds. 1000 milliseconds is equal to 1 second. ON Enable the system sound. OFF Disable the system sound.
Type BEEP without any parameters to send a beep to the system speaker.
When the system sound is disabled then no sound will be played or heard for the system beep. The system beep is used by Windows as a audio warning signal and is generally sounded when a message window is displayed. Changes to the system sound settings are reflected system wide.