Chapter 7. Scheduling Batch Files

This chapter provides information and commands concerning the following topics:

Scheduling batch files with Task Scheduler

Scheduling tasks from the command line

Scheduling Batch Files with Task Scheduler

After you’ve created a batch file, you can automate it. In other words, you don’t always have to start the batch file from the command prompt. Instead, you can schedule it to run regularly without any user interaction. As mentioned in Chapter 5, “Manipulating Disks,” you use Task Scheduler in Windows 7 to schedule tasks.

You can launch Task Scheduler by clicking Start, entering Task in the Start Search text box, and selecting Task Scheduler. Figure 7-1 shows Task Scheduler with a script in the Task Scheduler ...

Get Windows 7 Portable Command Guide: MCTS 70-680, and MCITP 70-685 and 70-686 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.