Repository navigation
dos_beep
Dale Fugier edited this page Jul 1, 2026
·
1 revision
Plays a Windows waveform audio file. The waveform sound for each sound type is identified by an entry in the SOUNDS section of the registry. If the system cannot play the specified alert sound, dos_beep plays the system default sound. If the function cannot play the default sound, dos_beep produces a standard beep by using the computer speaker.
(dos_beep [type])
type
The waveform type. The default type is a standard beep (0). The allowable values are as follows:
| Value | Description |
|---|---|
| 0 | Standard Beep |
| 1 | System Asterisk |
| 2 | System Exclamation |
| 3 | System Hand |
| 4 | System Question |
| 5 | System Default |
T if successful.
nil on error.
Command: (dos_beep)
T
Command: (dos_beep 1)
T