I am trying to run Rhino by passing it command line arguments, as detailed here: http://wiki.mcneel.com/developer/commandline
using the format:
“C:\Program Files\Rhinoceros 5 (64-bit)\System\Rhino.exe” /runscript=“commands here that also have a filepath in them” “J:\4_FORSCHUNG\F016_Screen Collection\04_COL_STUDIEN\151229_Animation in Rhino und GH\160106_Midi Animation 01.3dm”
As you can see I can escape the file path of the Rhino file to be opened by enclosing in “” as it has spaces in it. But that doesn’t work inside the /runscript part, as it is itself enclosed in “” and then assumes the runscript is already finished. Using ‘filepath’ and some other methods of escaping spaces don’t seem to be working.
So how can I pass a /runscript argument with a filepath with spaces?
Thanks for your help,