try this then.
.write -c $eval($+(",$scriptdir,%fullfile,"),2)