>-----Original Message-----
>My apologies if there's an MS.com article on this, but
I'm having trouble finding out how to getting a scheduled
task to do anything more than merely open the program.
I'm currently trying to automate tasks such as Defrag and
Disk Cleanup monthly on a couple of XP Pro boxes, but
using the Scheduler wizard, it merely opens the program
and waits for user input. I've found articles suggesting
that I should use Defrag.exe with switches, rather than
Dfrg.exe, but it's not clear how to use the switches in
Task Scheduler. My assumption is that scripting is
involved for both of these cases. I'm interested in
pursuing this route, as I've not done any command line
scripting before, and this would be a great way to
learn. Does anyone have any pointers to more info about
this, or merely a solution to my problem?

Thanks heaps-
>
>Jason Bennett
>.
>
Hi Jason,Hope this helps
http://www.informationweek.com/story/showArticle.jhtml?
articleID=15600170