0How To Make Your Computer's Internal Speaker Beep?

Posted by Harwinder Kumar at 6/11/2011 Posted in: ,

Beep your internal speaker of computer using VBS and CMD trick:
  • Using CMD

    Type Ctrl+G in DOS & then press Enter. For long beep you can repeat the process like pressing Ctrl+G 10 times and then press Enter.

  • Using VBS

    Copy below written script and paste it on Notepad, save it with extension .vbs

    Set oWS = WScript.CreateObject("WScript.Shell")
    oWS.Run "%comspec% /c echo " & Chr(07), 0, True 

    For making beep that does not stop, try this code: 
     do
    Set oWS = WScript.CreateObject("WScript.Shell")
    oWS.Run "%comspec% /c echo " & Chr(07), 0, True
    loop
Note: For stop, go to Task Manager, Processes, Look for process with name wscript.exe and then click stop.
Hope You Liked It. Receive Latest Posts Directly To Your Email
Get Free Updates:
Click On The Confirmation Link Sent To Your Inbox Or Spam

0 comments so far:

We love to hear from you! Leave us a comment:

© 2014 Learn The Basics Of Ethical Hacking About | Site Map | Privacy Policy | Contact