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

Copying Programs

Started by dhealey989, 18 January 2013 - 03:40 PM
dhealey989 #1
Posted 18 January 2013 - 04:40 PM
I am a little confused. I have a program on a floppy disk, which i want to put on a computer. I know it is cp disk/(filename) /(filename) but the second (filename) I'm not quite sure what it is. i have a door lock so it would be cp disk/door /(file name) what am i moving it to, what is the computer's "code name" as the floppy disk's is "disk"?
theoriginalbit #2
Posted 18 January 2013 - 04:45 PM
the computer is the root so / will put the program on the computer from the disk. ( technically the disk is /disk/ )
Cassine #3
Posted 19 January 2013 - 12:35 PM
You would type
cp disk/door /lock
or change lock to whatever you want the file name to be.