Steven,
> Does anyone know how to set a user prompted variable, and then > utilize relative pathnames for source and destination datasets? I am > trying to build a re-useable FME mapping file translation that will > prompt for a folder and an additional naming prefix variable. I can > easily do this in AML, but I would really love to have the same re- > useability in my FME translations. If you use batch files, it's relatively easy to do this. Imagine you have a file called 'run.bat' which looks like this (untested): ---------- @echo off fme mapping.fme --DestDataset %1\%2filename.ext ---------- You could run this by going to the command line and typing, for example 'run c:\data myprefix'. The variables %1 and %2 used in the batch file simply refer to the first and second parameter entered on the command line. For a more friendly interface, I'd recommend Visual Dialogscript (http://www.dialogscript.com/), which is a sort of visual component for the batch language. It can also be compiled into a .exe file. Hope this helps. -- Hans van der Maarel Red Geographics www.redgeographics.com / [EMAIL PROTECTED] Get the maximum benefit from your FME, FME Objects, or SpatialDirect via our Professional Services team. Visit www.safe.com/services for details. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/fme/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
