Good Evening,
Consider downloading one of the many older dos programs that will accept a command line input. Then invoke it with a batch command. Then create a shortcut to the batch command. If you make the last line of the batch file "EXIT" it will close the window and go back to your screen. You can use the echo command and echo a ^G (control G) which will cause the speaker to beep.
Have Fun
Gil Shultz