sendcommand now uses the new directory semantics