Command Prompt for Windows

Command BEEP


Send a beep to the system speaker or turn the system sound on or off.


BEEP [frequency duration] [...]
frequencySpecifies the sound frequency, in hertz. Must be in the range 37 through 32767.
durationSpecifies the sound duration, in milliseconds. 1000 milliseconds is equal to 1 second.
ONEnable the system sound.
OFFDisable 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.

Also see command PLAY, VOLUME, Event Sounds and Batch Files.