Is it possible to run a command to make Command prompt produce sound?


g-one8 years ago
Have a look to this batch code. The unknown sign is the ASCII character 07. If you copy&paste it to notepad and save as *.bat it should work. @echo off :beep cls echo ping -n 2 localhost>nul goto beep
Re-design g-one8 years ago
What's the character after "echo"? It shows up as a square with some symbols in it.
RelaxedSoup8 years ago
Yes, it is (in C++ at least). Include "\a" in your code (i.e. cout << "Hello world! \a";).