I am using a batch file to load a %1 variable .stl file created by another program into grasshopper. It’s working with a controlled path without spaces:
cd C:\Users\khann\Desktop “C:\Program Files\Rhino 6\System\rhino.exe” /nosplash /runscript="-grasshopper editor load document open C:\Users\khann\Desktop\Path_without_spaces\Grasshopper_file.gh" “%1”
Unfortunately I need to load the grasshopper file from a network drive with spaces in the path:
cd C:\Users\khann\Desktop “C:\Program Files\Rhino 6\System\rhino.exe” /nosplash /runscript="-grasshopper editor load document open C:\Users\khann\Desktop\Path with spaces\Grasshopper file.gh" “%1”