having trouble passing args - spaces added! help!

my goal is to pass a command with parameters through a couple of scripts, but there seems to be a problem with the way variables are expanded.

I have a text DAT: text5

[code]macro -p . dcjnk run -c text6 "$arg1" "$arg2" "$arg3" "$arg4" "$arg5" "$arg6" "$arg7"

set cmd = “dcjnk -l …/panelborderbb par("/TEMP/PANEL1/panelborderbb")”

$cmd
[/code]

and another DAT:text6:

echo 1-$arg1 2-$arg2 3-$arg3 4-$arg4 5-$arg5 6-$arg6 7-$arg7

the args passed are:
1–l 2-…/panelborderbb 3-par 4-( 5-/TEMP/PANEL1/panelborderbb 6-) 7-

the quotes are lost, and spaces are added before the parenthesis, etc. - unusable.

Any way to get this case to work? Possibly without having to go through a lot of backslashes?

btw I’ve also tried the crazy:

execute("echo $cmd")

to run the macro, but it has the same problem that variable expansion had before this release of Touch: it can’t find the command “dcjnk”

d

set cmd = "dcjnk -l ../panelborderbb 'par(\"/TEMP/PANEL1/panelborderbb\")'"

putting single quotes around par… will pass that as one argument. does that work for you?

Selina