Solved

Start an FME Workspace from a batch file which includes the paths to source and output files for inputs and outputs

  • 11 November 2022
  • 2 replies
  • 17 views

I would like to start an FME workspace that has 2 CSV readers with a batch script that specifies the path for the CSV files that each CSV reader (in red). The workspace also has a CSV and Shapefile writer (in green) that I need to specify the output paths for.

FME_WorkspaceIs this possible?

 

tC/.

icon

Best answer by nielsgerrits 11 November 2022, 16:03

View original

2 replies

Userlevel 2
Badge +12

The command to execute a batch file is in the first lines of the logfile.

Userlevel 6
Badge +32

Yes you can. When you run workbench, the first lines of the log display how to do this:

    Command line to run this workspace:
        C:\apps\fme_2021_2_6\fme.exe C:\TMP\test\none2none.fmw
          --PARAMETER "$(FME_MF_DIR_USERTYPED)test.tbx"
          --FME_LAUNCH_VIEWER_APP "YES"

 

Reply