beep.bat

rem
rem http://encode.ru/threads/383-A-command-line-tool-for-Windows-which-beeps-through-the-System-Speaker
rem http://www.frank-buss.de/beep/index.html
rem
rem -1
rem A simple beep. If the sound card is not available, the sound is generated using the speaker.
rem MB_ICONASTERISK
rem 0x00000040L
rem See MB_ICONINFORMATION.
rem MB_ICONEXCLAMATION
rem 0x00000030L
rem See MB_ICONWARNING.
rem MB_ICONERROR
rem 0x00000010L
rem The sound specified as the Windows Critical Stop sound.
rem MB_ICONHAND
rem 0x00000010L
rem See MB_ICONERROR.
rem MB_ICONINFORMATION
rem 0x00000040L
rem The sound specified as the Windows Asterisk sound.
rem MB_ICONQUESTION
rem 0x00000020L
rem The sound specified as the Windows Question sound.
rem MB_ICONSTOP
rem 0x00000010L
rem See MB_ICONERROR.
rem MB_ICONWARNING
rem 0x00000030L
rem The sound specified as the Windows Exclamation sound.
rem MB_OK
rem 0x00000000L
rem The sound specified as the Windows Default Beep sound.
rem
rundll32 user32.dll,MessageBeep -1
timeout 1
Comments