Thank you for the advice,

I got it to work.

Code:
  savebuf  -eo $dname 1 " $+ %file $+ "