FME Form: 2025.2

Running a Batch Translation

The FME Quick Translator interface supports batch execution and batch script creation. For example, you can translate a large number of input files, and produce separate outputs for each. You can choose to run the batch translation immediately, or save a batch script to be run later, potentially on another platform.

  1. Select Translation > Set Up and Run to open the Set Translation Parameters dialog.
  2. Specify the Reader format.
  3. Click the  button to specify multiple datasets.
  4. This will enable the Multiple Source Dataset Options:

  5. Click Separate destination for each source file.
  6. Select a Writer format.
  7. Click the Browse button beside the Dataset text box.
  8. Specify the folder for the output files and (optionally) a suffix to append to the dataset (for example, a file-type suffix).
  9. Click OK to close the dialog box.
  10. Click OK in the Set Translation Parameters dialog to start the translation.

Saving a Batch Script to Run Later

  1. Select Translation > Create Batch Script.
  2. This displays the Set Batch Script Parameters dialog with an additional field to accommodate saving a batch script.

  3. Follow the steps above to specify the translation parameters.
  4. At the bottom of the dialog, you will see a Batch Script area, with a filename field.

  5. Type or browse for the location of the batch translation file.
  6. Note that batch files consist of both a .tcl file and a .bat file. Both files are needed to run the batch translation.

  7. Click OK.

The batch script will be saved.

Running the Scripts Outside of FME

Go to the Windows DOS prompt and either type the name of the .bat file or type fme tclfilename.tcl.