I want to have a batch file that launches rhino and runs a python script saved on my computer. It works when there is no space character in the file path to the python file. Like this:
This works:
I’m afraid it looks like this just isn’t possible. But, if it is essential to have spaces in your python file path (and not underscores, say) then I do have a workaround.
Put the RunPythonScript part into a text file:
-RunPythonScript "Y:\00 Digital\Scripts Folder With Space\MyScript.py"
and place the text file somewhere where there isn’t a space in its path, for example:
D:\3D\McNeel\TestStart.txt
Then change the Rhino start part to use ReadCommandFile instead of RunPythonScript: