Alright... In this instructable I will show you how to create an alarm in a batch file. When activated, a tone will come from the internal speaker of your computer, over, and over. If you are lazy, you can just download it in the last step!I highly advise you not to play around with batch if you are not familiar with it! If you aren't, check out these basic,Intermediate, and advanced, batch tutorials.
In order to create an alarm, we will need a sound. There is a special character that when in a batch file or entered in command prompt, will cause an error and a tone will play through the internal speaker. In order to get that special character, you need to do a key combo in command prompt then save it so you can copy and paste it. That's what I'll do in the next few steps.
@echo off:alarm"@echo off" means that it won't show you whats happening. Keeps batch files clean.
clsgoto alarm"cls" means clear screen. It just removes everything on screen off the command prompt. Sorta like a dry erase board. "goto alarm" means that it will goto the label ":alarm"
You can now run the batch file "Alarm.bat" and it will sound an alarm through your computer speakers! One neat thing to do is if you have a password protected batch file, you can sound an alarm if they get the password wrong! Another thing you can do, is make an alarm clock! Good luck, and have fun!