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

Copy startup

Started by TobiMoesi, 20 November 2012 - 04:02 AM
TobiMoesi #1
Posted 20 November 2012 - 05:02 AM
How do I copy the startup program from one computer (Door Lock) to a disk and then to an other pc, so that I don't need a disk
to start ?
Orwell #2
Posted 20 November 2012 - 05:35 AM
You can copy files using the 'cp' command in the command line. So first you would do 'ls', so you see which files there are (disk should be a directory then). Then you can us cp like this:

cp fileName fileNameDestination
So to copy the startup file to a disk, you'd do:

cp startup disk/startup
On another pc you can copy it from disk to pc by doing:

cp disk/startup startup
TobiMoesi #3
Posted 21 November 2012 - 06:50 AM
Ty :(/>/>

The copy to another pc code was wrong :)/>/>

thanks for help :(/>/>