How can I run a scheduled tasks with parameters?
I have a scheduled task which runs a batch file. I need to pass parameters to the batch file - but they would need to be passed using the scheduled task.
For example: schtasks /run /tn MyTask "parameter1" "parameter2"
It doesn't run as shown above - but that's the gist of what I am trying to do.