Just put everything in a .bat file save it into a directory of you preference, and do the Windows task scheduling as shown in the tutorial except calling the CMD and passing arguments just place the path + *.bat file in the Program/Script textbox of the task scheduler.
Cheers