Skip to main content
Question

Why user parameter value is not setting when i call fmw file from bat file?


saravanakumar
Supporter
Forum|alt.badge.img+6

Hi All, 

I am trying to call a fmw file using bat file which will run on fme quick translator. Here for a testing i created a fmw file with “path” reader and changing the input value as user parameter which i newly added in workbench. I created a testing bat file to call that fmw file but i am facing “Undefined environment variable”. 

 I referred old case regarding and changed into ${variable} format but no change yet I’m facing the same. 
I attached workbench file and bat for your reference.
I am using FME Desktop 2020.1.1.1 32bit version

 

2 replies

saravanakumar
Supporter
Forum|alt.badge.img+6

Hello all, 
 

Found the issue that due to my bat file have unwanted spaces between every Assigning. After remove unwanted space my bat file working fine. 

Sorry to post for a Silly mistake !

Thanks


hkingsbury
Celebrity
Forum|alt.badge.img+55
  • Celebrity
  • July 10, 2024
saravanakumar wrote:

Hello all, 
 

Found the issue that due to my bat file have unwanted spaces between every Assigning. After remove unwanted space my bat file working fine. 

Sorry to post for a Silly mistake !

Thanks



No such thing as a silly mistake! Take credit in knowing that one day some will have the same issue and find the solution here :)


Reply


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