How to run a batch file at a specific time

Updated: 08/31/2020 by Computer Hope
Batch file

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 or at a certain time every day. Below is additional information about how to do this.

Run a batch file at a specific time in Windows 8 and 10

  1. Click Start
  2. Type Task and click Task Scheduler

Once the Task Scheduler is open, you can create a custom task by clicking Create Basic Task, opening a wizard that walks you through the process. Select the program to execute, how often to run it, and when.

Run a batch file at a specific time in Windows Vista and 7

Starting with Windows Vista, Microsoft has included the Task Scheduler, a program designed to run any program, including batch files, at any time or any schedule you desire. To run Task Scheduler, follow the steps below.

  1. Click Start
  2. Type Task and click Task Scheduler

or

  1. Click Start
  2. Click All Programs
  3. Click Accessories > System Tools > Task Scheduler

Once the Task Scheduler is open, you can create a custom task by clicking Create Basic Task, opening a wizard that walks you through the process. Select the program to execute, how often to run it, and when.

Run a batch file at a specific time in Windows XP and earlier

With Windows 98 and up to Windows XP, Microsoft has included Scheduled Tasks, a program designed to run any program, including batch files, at any time or any schedule you desire. To run Scheduled Tasks, follow the steps below.

  1. Click Start
  2. Click Programs
  3. Click Accessories > System Tools > Scheduled Tasks

Once open, you can create a custom task by clicking Add Scheduled Task, opening a wizard that walks you through the process. Select the program to execute, how often to run it, and when.