Skip to main content
Question

Set multiple Shared Resource Directories through a bat-file

  • March 13, 2019
  • 1 reply
  • 11 views

Forum|alt.badge.img

In a development environment I am both using FME Desktop 2015 and 2018 in the same environment. We have several shared folders with custom transformers. We also have 2015 and 2018 versions of these custom transfoerms In order to avoid changing all the Shared Resource Directory settings every time I start a different version of Workbench I made a bat-file to start 2015 and one to start 2018:

cd /d "D:\\Program files (x86)\\FME2018\\" && "D:\\Program Files (x86)\\FME2018\\fme.exe" APPLY_SETTINGS SYSTEM "Shared Resource Directory" "D:\\USER_Folders\\Bart\\FME2018\\sharedfolder" && start fmeworkbench.exe

This works for 1 folder, as per this example, but I can't find the syntax to set multiple folders.

Any suggestions?

1 reply

mark2atsafe
Safer
Forum|alt.badge.img+44
  • Safer
  • March 19, 2019

I think the preferred solution here is to have a single custom transformer but to make it versioned. When you version a custom transformer you can make one version work for 2015 and another work for 2018. Then there wouldn't be an issue over sharing resource folders.

For more information check out the versioning section of the FME training manual: https://s3.amazonaws.com/gitbook/Desktop-Advanced-2018/DesktopAdvanced5CustomTransformers/5.09.CustomTransformerVersioning.html


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