Hi @walgram
If the datasets in the workspace script are never going to change you could simply run
>fme.exe abc.fmw and it will read the parameters as are saved in the workspace.
For instance can the first parameter pointing to the dgn be dropped? (as in delete the DGN published parameter in workspace)
Next thing to try the cmd call all on one line (remove the carriage return)
and last perhaps vary the call to the datasets with a wildcard which will capture the las files you are chasing. e.g.
sys32> fme.exe "las_2_answer.fmw" --SourceDataset_LAS "C:\\Data\\PointClouds\\*.laz"
I think the call is having trouble parsing the --SourceDataset_LAS """"""thing1.las"" ""thing2.las""""" when i monkey around with balancing the quotes it starts failing. If a wildcard call to a directory of files will work for you i suggest trying that.
Hi @walgram, possibly the most outer pair of quotation marks is excessive. Try this command line.
fme.exe abc.fmw --SourceDataset_DGNV8 "abc.dgn" --SourceDataset_LAS """""10.las"" ""11.las"" ""12.las"""""
Hi @walgram,
This issue does appear to be a bug (in regards to the number of quotations). However, as Takashi stated, I believe the command line will function correctly by removing the outer pair of quotation marks(rather than 6 quotations, only requires 5). An update will be posted on this page when this issue has been addressed.
Apologies for the inconvenience.
Thanks for posting a fix to this @trentatsafe and @takashi
I had exactly the same issue as @walgram. Now fixed by removing the outermost quotation marks from:
C:\\FME2018\\fme.exe C:\\FME\\EH-Documents\\201-GetEDRMS.fmw --SourceDataset_CSV2 """""".\\output\\GetPersonalLicence.csv"" "".\\output\\GetCharityLicence.csv"" "".\\output\\GetStandardLicence.csv"" "".\\output\\GetRisk.csv"" "".\\output\\GetNotice.csv"" "".\\output\\GetPlanning.csv"" "".\\output\\GetGrant.csv"" "".\\output\\GetComplaint.csv""""""
It's still a problem in FME2018.0 but good to know there's an easy get-round.