Spaces in Rhino commands?

rhino
unhandled

#1

We are trying to automate Rhino to perform a number tasks using batch files. In this scenario, we have a batch file that starts Rhino, then calls runscript with a custom command. The custom command takes 3 parameters, any of which can contain spaces.

My batch file command is as follows:
Rhino.exe /nosplash /runscript="-PW "

I’ve tried various combinations of quoting the /runscript command and its contents.
I’ve also tried supplying the parameter name of each of the strings.

Both these approaches do not work currently. The parsing seems to stop at the first encountered space.

Any suggestions from the Rhino community on what to try or even if this is possible with the RunScript command?