Hello!
I like to organise my scripts into folders, that's pretty common...
What I'd like to do is basically run
cd <foldername>
upon startup, so I don't have to manually do it every time I break the turtle to move it. How do I go about doing that?
There is an API for changing the current directory of the shell, calling it with the right argument in a startup file will do what you want.
Just to confirm:
"shell.setDir("/rom")"?
It works, but working doesn't always mean the best way
Yep. The other way would be to shell.run to the cd program but it's considered bad practice to use shell.run like that.
Awesome, thanks!