Command BEEP
Function:
Send a beep to the system speaker or turn the system sound on or off.
Syntax:
BEEP [frequency duration] [...]
or
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. |
Note:
- 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.
- Also see command PLAY, VOLUME, Event Sounds and Batch Programs.
|