Skip to main content
Question

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

  • 10 July 2024
  • 2 replies
  • 36 views

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

Badge +5

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

Userlevel 6
Badge +39

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