Page 1 of 1

dos command

Posted: Thu Aug 18, 2011 3:20 am
by amoniha
What is the dos command prompt for producing sound at a certain frequency? I used to know this well. There is a dos command that you type followed by or preceeded by a number such as 19550 which is a specific frequency the computer would then produce. I'd like help with the actual command and the syntax for using it. I've forgotten it altogether otherwise. Thanks.

Re: dos command

Posted: Thu Aug 18, 2011 8:43 am
by commando_lee
use [^G] -- thats [ctrl key]+["g" key] in you batch file. i don't know the Alt+ combination for it but here's how i create it.
start copy con at the prompt like so:
c:\copy con beep.bat [enter]
you will lose the prompt but that's normal and just type:
ECHO [ctrl key]+["g" key][enter]
[ctrl key]+["z" key][enter]
using the key combinations described above.
you will then have a file 'beep.bat', edit it and there is a line:
ECHO *
where asterisk is actually the symbol for ^G. run it and it should beep

Hope that may be some use to u

Re: dos command

Posted: Tue Aug 23, 2011 5:40 pm
by HaGGardSmurf
Good stuff lee, I used to know some batch scripting but forgot most of it :P

Amoniha you've been warned for adding in spam links to your post as a "signature" do it again and you'll be removed from the forums.

Re: dos command

Posted: Tue Sep 10, 2013 1:53 am
by shaadisankalp
Dos is stand for Disk operating System. They are many action perform dos window. programming language is used the dos window. It show the out put of dos window. java program is run on the dos window.