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


Thoralf S
2018-05-25T12:40:26Z
I guess it's only a simple thing. I try to execute a task, a batch script (Pentaho's Pan.bat) It's located in C:\Program Files (x86)\PDI\data-integration\Pan.bat .
The argument is a file somether on a networkdrive. I have set the Working directory exactly to this C:\Progr.....
So finaly I have the Command C:\Program Files (x86)\PDI\data-integration\Pan.bat
the arguments /file:"Z:\ETL\EwENCT_Concat.ktr"
the working dir C:\Program Files (x86)\PDI\data-integration
But i get the error 2
If I run this in cmd it works

What's wrong?

Thanks for help
Sponsor
Forum information
Gary_W
2018-05-25T13:16:04Z
Make the command: c:\windows\system32\cmd.exe /C
with the arguments of the path to your bat file and it's argument of the file. I believe cmd.exe sets up the runtime environment for your batch file.
Scroll to Top