You should take all those "=" out. The syntax for set is: '/set %var value'

  • //set %mydir $+(dll\moo.dll)
Is that what you want?