Earlier I wrote an article on how to create your own batch files using regular DOS commands, and today I will talk about how you can schedule this batch file to run in XP. This is very useful for servers or specific computers that need to perform the same tasks on a regular basis, such as copying data or deleting files.
First, create a batch file and place it in the appropriate directory on your computer or server. Now go to your control panel and select “Assigned Tasks”.
Now click on the Add Scheduled Task link to open the Task Schedule Wizard.
Click Next and then click Browse. Browse to the location of your batch file and select it.
Now enter a name for your task and select a schedule (daily, weekly, monthly, one-time, etc.).
Depending on which you choose, the next screen will allow you to specify exactly what days and times you want the batch file to run. Here are the weekly options:
Finally, enter the credentials for an administrator account on the computer so that the task can run smoothly.
And it’s all! Click Finish and your task will appear in the list of scheduled tasks. Now your batch file will run according to the schedule you created.
If you are using a newer version of Windows like Windows 7 or Windows 10, be sure to check out my other article on how to create and schedule batch files If you are having trouble setting up a batch file as a scheduled task, feel free to leave a comment here and I will help! Enjoy!