Skip to main content
Solved

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

  • November 11, 2022
  • 2 replies
  • 76 views

tigercole

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/.

Best answer by nielsgerrits

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"

 

View original
Did this help you find an answer to your question?

2 replies

tomfriedl
Contributor
Forum|alt.badge.img+13
  • Contributor
  • November 11, 2022

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


nielsgerrits
VIP
Forum|alt.badge.img+54
  • Best Answer
  • November 11, 2022

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"

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings