> unfortunately this works only for 2 but not 3 or more records...
And I
> do not understand why.
If you can send me the third-step files I'll try testing here.
You find the files attached.
> I tried Jack's idea again (see attached, it's a bit
long), the problem
> remains that the long string "v" holding all the string names cannot
> be printed. I found that 'printf "%s",v' does not work but
'print v'
> does... That is the reason why the 'join @cmd' does not hold the
> variable names.
Hmm, this is quite odd. There's no such problem on Linux but I tried testing
on Windows and I now see what you mean. There seems to be a string-
length problem with [s]printf on Windows; I'll investigate.
In the meantime there's a workaround: the script executes OK if you piece
together the command for "join" like this:
cmd = sprintf("%s ", fname)
cmd ~= v
cmd ~= sprintf("--ikey=%s --okey=%s", in_key, out_key)
Allin
Thanks a lot! This work-around does the job. And sorry for all the inconvenience...
Frederik