I have a console application that takes input command line arguments. I have to schedule this task on Windows 8 using Win32.TaskScheduler or directly from Windows 8 Task Scheduler . The problem is whenever my command line arguments length exceeds 450 characters, i get a warning like this :
```
Task registered task "TaskName" , but not all specified triggers will start the task. User Action: Ensure all the task triggers are valid as configured. Additional Data: Error Value: 2147944183.
```
And the task does not run eventually at the run time. Is there any limit on command line arguments' length?
But the same thing works on windows 7 scheduler.
Comments: There is nothing in the Microsoft documentation on command line argument length. There is certainly nothing in the wrapper library code that would limit the length. I would suggest posting this in one of the Microsoft Forums to see if someone at MS can answer it.
```
Task registered task "TaskName" , but not all specified triggers will start the task. User Action: Ensure all the task triggers are valid as configured. Additional Data: Error Value: 2147944183.
```
And the task does not run eventually at the run time. Is there any limit on command line arguments' length?
But the same thing works on windows 7 scheduler.
Comments: There is nothing in the Microsoft documentation on command line argument length. There is certainly nothing in the wrapper library code that would limit the length. I would suggest posting this in one of the Microsoft Forums to see if someone at MS can answer it.