I suspect that RUNNAS parses the command line parametes which it then passes on to the command, possibly with the quotes badly mangled.

Unfortunately CMD style command line parsing is probably the worst that I've come across, and trying to do things like escaping the quotes so that they make it through to the final task command line intact is an exercise in frustration.