Purpose:Flash the screen and beep the speaker


Format:VBEEP [/=] [frequency duration ...] [asterisk | exclamation | hand | question | ok]


frequencyThe beep frequency in Hertz (cycles per second).
durationThe beep length in 1/18th second intervals.


asteriskPlays the system default "asterisk" sound.
exclamationPlays the system default "exclamation" sound.
handPlays the system default "hand" sound.
questionPlays the system default "question" sound.
okPlays the system default "ok" sound.


See also: the Length and Frequency configuration options.




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.


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).




/=Display the VBEEP command dialog to help you set the command line options. The /= option can be anywhere on the line; additional options will set the appropriate fields in the command dialog.