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

Copying a file from a floppy to the computer using a program.

Started by RadiationAlert, 15 December 2014 - 11:19 PM
RadiationAlert #1
Posted 16 December 2014 - 12:19 AM
I'm looking to see if I can copy programs from a floppy disk to the computer using a startup program from a floppy disk. I also want to check to see if the programs have already been copied (assuming the files don't overwrite).

If you know how to do this, some information would be appreciated.
KingofGamesYami #2
Posted 16 December 2014 - 01:36 AM
Try looking at the shell and fs api.

fs.copy is probably what you want, although I'm unsure as to if the disk startup is running in the disk folder.