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 :
But the same thing works on windows 7 scheduler.
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.