I would like to User to rename the output FGDB name every time they run the FME script using the batch file.
I have a FME 2022.2.4 workbench file that output Data on to a FGDB.
FGDB has many feature classes, line points and polygon.
I have created User Parameter called "NAMEFGDB" then linked with the "Writer". When I run the script using workbench or quick translator it prompt and I can change the FGDB name.
However when I run using the batch file, even though I can type the new name for the FGDB, it still writes out to Default database name.
My Batch file is as below.
@echo ## Start translation ##
set /p NAMEFGDB=type fgdb name:
"C:\\Program Files\\FME\\FME2022-1-2\\fme.exe" D:\\GIS\\Data_extract_by_Area.fmw
@echo ## End translation ##
pause
Is there anything else I need doing to connect the FME script to batch file?