I have a job with an Execute task which calls a .cmd file. The job is set up with the Working Directory pointing to the same directory where the .cmd file is located. Whenever the job runs I get an error message “Unhandled error when trying to start process: The directory name is invalid”.
I have a number of jobs which are set up the same way and use the same working directory except they call a different .cmd file. The other jobs work correctly.
I’ve tried deleting the job and recreating it but still get the same error. I’ve checked the path to the .cmd file and the working directory and both are correct. What am I doing wrong?
Thanks!