|Purpose:||Flash the screen and beep the speaker|
|Format:||VBEEP [/=] [frequency duration ...] [asterisk | exclamation | hand | question | ok]|
|frequency||The beep frequency in Hertz (cycles per second).|
|duration||The beep length in 1/18th second intervals.|
|asterisk||Plays the system default "asterisk" sound.|
|exclamation||Plays the system default "exclamation" sound.|
|hand||Plays the system default "hand" sound.|
|question||Plays the system default "question" sound.|
|ok||Plays the system default "ok" sound.|
VBEEP flashes the screen (by setting all attributes to their inverse), and generates a sound through your computer's speaker. You can use it in batch files to signal that an operation has been completed, or that the computer needs attention.
64-bit versions of Windows do not support the frequency/duration syntax of VBEEP.
You can include as many frequency and duration pairs as you wish. No sound will be generated for frequencies less than 20 Hz.. The default value for frequency is 440 Hz; the default value for duration is 2.
Numeric input may be entered in either decimal format (a sequence of 0-9 digits) or in hexadecimal format ("0x" followed by a sequence of 0-F hex digits).