Reference number: CH000785
How can I run a batch file at a specific time?
Question:
How can I run a batch file at a specific time?
Answer:Often, batch files are created to perform specific tasks, such as
cleaning up a directory, copying certain files, etc. You may need
to run a batch file at a specific time and/or at a certain time
every day. Below is additional information about how to do this.
Microsoft Windows 98, ME, 2000, and XP
users
With the introduction of Microsoft Windows 98, Microsoft has
included Scheduled Tasks, a software program designed to run
any program, including batch files, at any time or any schedule you
desire. To run Scheduled Tasks, follow the below steps.
- Click Start
- Click Programs
- Click Accessories, System Tools, and then Scheduled Tasks.
Once open, you'll be able to create your own custom task by
clicking Add Scheduled Task, which will start you through the
wizard, prompting you with what program you wish to execute, how
often you wish to run it (daily, weekly, monthly, one time only,
when my computer starts, and when I log on), the time you wish to
run, and how often each day to run.
Additional information:
- If you're looking for information about running portions of
your batch files in timed intervals, see
document CH000036.
|
|
| Resolved | Were you able to locate the answer to your questions? |
|
|