You can send commands directly from the command line client instead of letting it parse them with "quote"
quote dir
quote ls

of course it may deal poorly with the reply.