LOL! That's the code I started with. :) Well, minus the alltrim part since there aren't any trailing spaces. But the COPY FILE line is exactly my original code. That's what chokes and what prompted me to ask for help. :)
Thanks,
Michelle
>Michelle,
>
>Ahhh...these are memo fields. The following should work, and should be faster, especially if you are copying a whole bunch of files. EXECSCRIPT() has to compile the line each time it executes.
>
>
>local lcFromPath, lcToPath
>
>lcFromPath = alltrim(mFromPath)
>lcToPath = alltrim(mToPath)
>copy file (lcFromPath) to (lcToPath)
>
>