Jump to content




file path


  • You cannot reply to this topic
1 reply to this topic

#1 gevelege

  • New Members
  • 1 posts

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.

#2 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

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.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users