Version 2

    I recently had the need for an audible alert based on specific messages and found a code snippet to cause the system beep. It's just a command shell echoing the bell character, but I thought I would share it with the community incase anyone else is looking for something similar.


    Just add the following two lines to your script when you want the beep:


    Set oShell = CreateObject("Wscript.Shell")

    oShell.Run "%comspec% /c echo " & Chr(7),0,false