Hi there,
Task Scheduler lets you choose from different triggers, including a specific date, during startup, or when a user logs in to the computer.
You can configure the script using the Task Scheduler app to run it on schedule. Or you can save the batch files in the "Startup" folder to let the system run them as soon as you sign into the account. If you want to run a script on-demand, you can use File Explorer or Command Prompt.
Go the task properties --> Action tab --> Edit --> Fill up as below:
Action: Start a program
Program/script: path to your batch script
Add arguments (optional): <if necessary - depending on your script>
Start in (optional): Put the full path to your batch script location
---------------------------------------------------------------------------------------------------------------------------
--If the reply is helpful, please Upvote and Accept it as an answer–