I am trying to run a workbench from a batch file. The workbench is found in a shared drive (with access permissions), while FME is installed in the C: drive. According to what I've seen in the forums it is a simple command line. However, when running from a batch file, the following error arises: "The specified path is invalid".
The batch file is stored in the same shared drive. I have tried the following options, using two path formats "\\\\shareddrive\\maps\\" and "Y:\\":
Option one:
"C:\\Program Files\\FME\\fme.exe" "\\\\shareddrive\\maps\\FME\\AddressGaz.fmw"
Option two:
"C:\\Program Files\\FME\\fme.exe" "Y:\\FME\\AddressGaz.fmw"
In theory "\\\\shareddrive\\maps\\" and "Y:\\" are equivalent.
I don't know what I am doing wrong. Does anybody have a clue?
Thanks