I found this in a few different places around the 'net - hopefully it's helpful:
Three New Command-Line Tools
If you're running Windows XP Professional, you can use a number of great new command-line tools:
- Use schtasks.exe to script the scheduling of tasks from the command line.
- Defragment your drives from the command line with defrag.exe.
- Query all or any of the event logs from the command line with eventquery.vbs.
To execute some of these commands, you must be a member of the Administrators group on the computer that the command affects.