I have a simple FME Workspace which runs perfectly. However, creating then running the associated TCL file (via .BAT file) is for some reason adding the source-directory parent-folder to the destination directory. This does not happen when running the .fmw alone.
FMW Example: Reader Source - "C:/Temp/SourceData/" ; Writer Destination - "C:/Temp/OutputData/" ; Run TCL - adds "SourceData/", thus saving writer results to "C:/Temp/OutputData/SourceData/". Note: the TCL runs successfully, however the results are being written into this subfolder.
I can only guess that the TCL file is including code which adds the parent folder...? (The workspace is not doing this.) Any ideas? Thank you!