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

file path

Started by gevelege, 13 March 2016 - 11:09 AM
gevelege #1
Posted 13 March 2016 - 12:09 PM
My english is not very good, so I hope you understand me.

My turtles not use wireless. My mining turtle (id 0) to dig passages. If his inventory is full, he should do in a file outside its directory (the top directory computer) a entry, so a different turtle (id 1) can read this.

As I use: file = fs.open("C:/Users/.../computer/datei", "w") the computer create under its directory all directory (.../computer/0/C/Users/.../datei).

How change I the directory so the turtle (id 0) can write and the other (id 1) can read. All other files should remain its directory.
Bomb Bloke #2
Posted 13 March 2016 - 12:24 PM
ComputerCraft computers and turtles can only write to their own folders. They can't make changes elsewhere on your "real" computer's drive.