Save .rsc file in subfolder

Guys,
I’m trying to save a “rsc” backup to a subfolder, and I can’t do it, here’s my script

{
:local name  "750GL(SERVER)"
:local fname "RB"
:local backupname "$fname$name"

/ip smb shares
   :local temp [get [find default=yes] directory]
   set [find default=yes] directory=$fname
   set [find default=yes] directory=$temp
   export compact file=$backupname
}

Thanks for the help friends.



EL DONCITO.

but why don’t you ask in the same topic where you copied the script from, that you then modified as you like, removing needed parts?

http://forum.mikrotik.com/t/backup-in-a-subfolder/161337/1