Skip to main content
Question

Set multiple Shared Resource Directories through a bat-file

  • March 13, 2019
  • 1 reply
  • 19 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?

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

mark2atsafe
Safer
Forum|alt.badge.img+59
  • 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