Use a variable in an export path

Kenneth Brody kenbrody at spamcop.net
Tue Apr 21 11:36:45 PDT 2015


On 4/20/2015 5:25 PM, daN baueR wrote:
> On Mon, Apr 20, 2015 at 3:44 PM, Josh Reader
> <josh.reader at mercuryelectronics.com> wrote:
>> Suggestion 2
>> fn="/appl/user_exports/users/\""{nm{"\"/filepro/export.txt"
>
> Try this. The spaces are insignificant just there to help me see
> what's there. You need { curved brackets between each of the three
> strings to connect them together.
>
> Suggestion 2
> fn="/appl/user_exports/users/" {\' {nm{ \' {"/filepro/export.txt"

I don't understand why people think there's a need to put quotes inside a 
filename, unless you want those quotes as part of the filename.

All you need is:

     fn = "/appl/user_exports/users/" { nm { "/filepro/export.txt"

-- 
Kenneth Brody


More information about the Filepro-list mailing list