Skip to main content
Question

which command lines to automate fme?

  • Jun 5, 2023 12:37 PM UTC
  • 6 replies
  • 107 views

solene01
Contributor
Forum|alt.badge.img+3

Good morning,

 

I’m trying to automate my fme with a bat file. It’s the first one and I don’t understand what’s blocking it.

 

I attach my bat file if someone can help me tell if the command lines or not =)

 

thank you 

6 replies

daveatsafe
Safer
Forum|alt.badge.img+24
  • Safer
  • Jun 5, 2023 10:23 PM UTC

Hi @solene01​,

If you open your workspace in a text editor like Notepad, you will see the recommended command line to run the workspace in the first several lines. You can use this command line in your batch file.


  • Aug 10, 2023 6:20 AM UTC

Good morning,

Certainly! To automate FME using a batch file, you'll typically need a command line like this:

"C:\Path\To\FME.exe" "C:\Path\To\YourWorkspace.fmw" --param1 value1 --param2 value2

Make sure to replace the paths and parameters with the correct ones for your specific workspace and needs. If you could share the content of your .bat file (obscuring any sensitive information), I could provide more specific help.

 

Thank you!

Regards

Lija

 


solene01
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • Aug 16, 2023 12:06 PM UTC

Good morning,

 

thank you for your return just I join you the beginning of script which I made. I manage to launch it but not to execute it, is it the .exe which causes the execution of the processing chain?

 

THANKS


tomfriedl
Supporter
Forum|alt.badge.img+14
  • Supporter
  • Aug 16, 2023 12:14 PM UTC

Open a *.fmw open the program fmeworkbench.exe. fme.exe execute a workbench.

--param1 value1 ... is only nessary, if you have params. These are of course only placeholders for the actual values.


solene01
Contributor
Forum|alt.badge.img+3
  • Author
  • Contributor
  • Aug 16, 2023 1:17 PM UTC

oh ok i see thank you

 

How do you get an exe file?


tomfriedl
Supporter
Forum|alt.badge.img+14
  • Supporter
  • Aug 16, 2023 1:24 PM UTC

fme.exe is a program from safe. You found it in the install-directory. Like Ilja has written.