For the original question, asking about Windows XP (and Windows 7): Windows Task Scheduler
For command-line usage, you can schedule with the AT command.
For newer Microsoft OS versions, Windows Server 2012 / Windows 8, look at the schtasks command line utility.
If using PowerShell, the Scheduled Tasks Cmdlets in Windows PowerShell are made for scripting.