The Beep code is very simple - echo character 7 to a console. You can do it using WScript.echo, it works with cscript command line:
for 'Play Beep from VBScript (ASP, command line)' article
Copyright and use this code
The source code on this page and other samples at https://www.motobit.com/tips/ are a free code, you can use it as you want: copy it, modify it, use it in your products, ...
If you use this code, please:
1. Leave the author note in the source.
2. Link this sample from you page.
<A Href="https://www.motobit.com/tips/detpg_beep-script/" Title="Short VBScript functions to play sound from wscript command line or ASP and other script applications" >Play Beep from VBScript (ASP, command line)</A>
© 1996 - 2014 Antonin Foller, Motobit Software | About, Contacts | (Find us on Google+)