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 .vbsSet 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.
Thank you for your comment.