Plus the reason why you should do this
How to Use Task Scheduler to Run a Batch File – A MUST LEARN!
Batch files are a great way to automatically perform tasks on your PC. To run a batch file automatically, use the Task Scheduler utility on your Windows 10 or Windows 11 PC.
Task Scheduler lets you schedule your batch file to run at a specific time or when a specific event occurs. You also get a bunch of configurable options to define how the file is executed. We’re assuming you’ve already created the batch file, so in this article, we’ll show you how to schedule that batch file to run.
There are many reasons to schedule a batch file on your PC. A good example is creating a batch file that clears your Downloads folder. For example, you can run this batch script to delete your downloads every week.