I say again: Unless you will pass *DIFFERENT* parameters to TestExecute each time, you do *NOT* need JavaScript to get involved.
You *CAN* just specify the command line arguments via the Task Scheduler. Did you not know that?
And even if you couldn't, you could instead create a ".bat" file that contained something like
Code:
TestExecute zambonis 337 Z$4
and then schedule the ".bat" file.
You need to explain why you think you need JS to get involved here.