How can I start Rhino with a specific working directory via shortcut or batch file ?
right click on your desktop, choose “new” then “link” and browse to your Rhino.exe to create a regular link. Once ready, right click on your link, choose “properties” and under destination change it to look like like this:
"C:\Program Files\Rhinoceros 5.0 (64-bit)\System\Rhino.exe" /runscript="_-SetWorkingDirectory ""D:\Temp"""
Note the double quotes around the path D:\Temp, this is required if your path has spaces in it, otherwise it is not required.
It doesn’t seem to work … I get an error.
Here is my shortcut which seems to work:
note the quotes, i have two quotes in front of the path and two after it, then another one to close the quote which starts after runscript. If you do not have spaces in that path, just remove one quote before and one after the path.
I understand the quotes sequence. I had already a shortcut and I edited it and I was having the error. Now I created a fresh one and it worked. Go figure …