Run a batch file with Windows task scheduler

I faced the same problem, but I found another solution without having to modify my batch script.

The only thing that I missed out is at the ‘Action’ settings – “Start in (Optional)” option.

Go the task properties –> Action tab –> Edit –> Fill up as below:

  1. Action: Start a program
  2. Program/script: path to your batch script e.g. C:\Users\beruk\bodo.bat
  3. Add arguments (optional): <if necessary – depending on your script>
  4. Start in (optional): Put the full path to your batch script location e.g. C:\Users\beruk\(Do not put quotes around Start In)

Then Click OK

It works for me. Good Luck!

Leave a Comment

tech