Name: BEEP Shortest: BEE
Family: Command Category: Programming
Description: Use the BEEP command to sound the computer's bell.

Syntax

BEEP syntax diagram

About the BEEP Command

BEEP is useful to signal when a process has finished, or to signal that an error has occurred in a command file.

Example

In the following example, the first command line displays a message to indicate that a process has finished and instructs you to press a key to continue. The second command line sounds the computer's bell. The third command line stops processing until you press any key.

WRITE 'Processing is complete. Press any key to continue.'
BEEP
PAUSE