I'm wondering, with batch, vbs or any other built in windows languages, can I make the system beep (like the one when you press a key at startup) go off? I'm not sure if this is possible, but any help would be awesome!
This is very easy using ctrl+G
(which comes up as ^G
in cmd).
Simply Type:
Echo ^G
Echo ^G >> beep.txt
Type beep.txt
This can only be used in CMD, unless you redirect the output to a text file (As demonstrated above), where you can then copy it into your batch file or type
the file when you want to beep.
Remember in the above code ^G
is achieved by key pressing Ctrl
+ g
.
Mona