Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


cmeadow
2008-03-26T15:55:55Z
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!
Sponsor
Forum information
Support
2008-03-27T22:16:14Z
Are you using logical drives or UNC paths? Are you using a Credential on the Task?
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
cmeadow
2008-03-28T00:45:37Z
I'm using LFS paths e.g. D:\ABC\123 in both the Command & Working Directory fields. I'm using credentials with profile and run with API code.
Support
2008-03-28T09:18:37Z
If it is a network drive you should use UNC paths. But if you are in a AD you could try to use Run with managed code.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top