Skip to main content

Hi,

 

I'm trying to run an FME process from the command line like I have many times before (fme example.fmw)

 

However, it is opening the wrong version for the workspace. The workspace is in 2022 but the command line is opening 2018 (which is also installed on my computer). Is there a flag or something I could add to my code to ensure it opens 2022? My workspace has newer transformers than 2018 so it crashes everytime I open it

 

I have tried adding it to the system path variable, but this doesn't do anything, unless I'm doing it wrong

 

Thanks

Yeah, adding the folder of the fme.exe to the Path Environment is want you want to do - you will also need to make sure the old version is removed from the path too.

Also, after updating the environment variables you'll need to close and open your terminal for the change to take effect.

Alternatively, instead of calling 'fme', you can put the full path to the correct fme.exe version when calling


Thanks @virtualcitymatt​ ! Looks like I was just setting the path attribute slightly wrong in the windows environment variables


Reply