That error (2147942667 = 0x8007010b = ERROR_DIRECTORY) may be related to the "Start in" value of the task (or the Program/script value).
The tasks "Program/Script" property will accept quotation marks around the value (if, for example, there as spaces in the directory name).
The tasks "Start in" property doesn't require them and doesn't allow them.
You may also have, for example, a trailing space in a path name.
If you can't spot the error, reenter the values and try running the task again.