Using the Task Scheduler

To save even more time and trouble, you can have Windows run batch files and WSH scripts for you, on a scheduled basis. The Task Scheduler lets you enter commands to be run on an hourly, daily, weekly, or other schedule. You can use scheduling to perform disk cleanups, backups, reports, software installation, or any other task that you want to occur (a) when you're not around, or (b) even if you forget to do it by hand.

NOTE

When a scheduled batch file or script runs, unless you're logged on at the time with the same username as you use to run the scheduled task, you won't see anything on your screen. You won't see any error messages, and you won't be present to type in any information or click on any dialog boxes. So, ...

Get Platinum Edition Using® Microsoft® Windows® XP now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.