This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
GewoonDaan's profile picture

[LUA] Root directory?

Started by GewoonDaan, 31 August 2012 - 05:28 PM
GewoonDaan #1
Posted 31 August 2012 - 07:28 PM
My google fu is letting me down…
My turtle is on the directory cd disk, but I want to go back to it's own directory.
How do I do it?
MysticT #2
Posted 31 August 2012 - 07:36 PM
The root directory is /, so use "cd /" and it should be there.
You can also use "cd .." to go to the above/parent directory.
GewoonDaan #3
Posted 31 August 2012 - 07:38 PM
Thanks, I tried those without the spaces :/
jakeflee #4
Posted 10 September 2012 - 12:58 AM
how do you do this from a program