I’ve come to quite like XP. But there’s the odd missing feature, like the fact that Windows has no alarm clock. I don’t mean a super-fancy Outlook Calender application, where you have wade through scads of GUI just to get a reminder sound — I mean a simple beep-beep alarm clock.
Then I discovered that XP (especially XP Pro) has a reasonably rich set of command line utilities. Well, not rich if you’re used to Unix-like
txtutils, but rich if you’re from a Windows 95, “the most powerful command is
dir /w” type of background.
To get my alarm clock, I first made a batch file which just plays a sound, and stuck it in my path, say,
c:\windows. Here’s my
alarm.bat that plays an alarm sound using Media Player (put it all on one line):
"c:\Program Files\Windows Media Player\mplayer2.exe" /play /close /new c:\windows\Media\notify.wav
And then when you want to set an alarm, just go to the command line (Start > Run > “cmd”) and type something like:
at 7:30pm alarm
Or, if you want an alarm at 6am every Mon, Wed, and Thu:
at 6am /every:m,w,th alarm
1 October 2007 by Ben 36 comments