Beep in a batch file

  • Thread starter Thread starter Jon
  • Start date Start date
J

Jon

Please help - this is driving me nuts.Could someone
please tell me how to echo a "beep" in an XP Home batch
file so that the machine beeps.

I've learned that alt + "7" produces a beep and ctrl + G
is supposed to (but doesn't on my machine) and that a
beep has an ascii code of 7 (I think) but how can you
enter this?

i suspect it's something like

echo (ascii code of a beep)

Please help if you know.
 
Hi John,
Playing around I came up with this:

Go to your DOS prompt
Edit beep.bat
@echo ctrl +P ctrl +G

Save and run beep.bat. It should beep....
 
Hi John,
Playing around I came up with this:

Go to your DOS prompt
Edit beep.bat
@echo ctrl +P ctrl +G

Just as an experiment, copy the below, paste in notepad, save as
beep.bat. Then double click on it to see if you get the dos box
and beeping.

echo 
 
Back
Top