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

how to autorun a turtle

Started by Rhinehart_, 03 October 2012 - 05:53 AM
Rhinehart_ #1
Posted 03 October 2012 - 07:53 AM
i remember that when 1.3 first came out it was possible to have a disk in a drive and if there was a file on the disk with the name "startup" everytime a computer booted up next to the drive it would run the program, or something along those lines,

my question is if that has changed, or if it is done differently,
Orwell #2
Posted 03 October 2012 - 07:58 AM
i remember that when 1.3 first came out it was possible to have a disk in a drive and if there was a file on the disk with the name "startup" everytime a computer booted up next to the drive it would run the program, or something along those lines,

my question is if that has changed, or if it is done differently,

It's exactly like that. When the computer boots, it will first search for a file named 'startup' on a disk and then run it. If it didn't found one, then it will look in its own filesystem for a file named 'startup' and run that one. : )
Rhinehart_ #3
Posted 03 October 2012 - 09:14 PM
so just to be clear, if i have a disk with a program called startup, in a disk drive, and if i were to place a turtle right next to the drive it would startup and do the program?
Cranium #4
Posted 03 October 2012 - 09:41 PM
Yes.
BrolofTheViking #5
Posted 04 October 2012 - 01:07 AM
You don't even need the disk drive, the startup program can just be on the turtle itself.