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

floppy disk help

Started by 072608, 09 May 2012 - 08:51 PM
072608 #1
Posted 09 May 2012 - 10:51 PM
i have no idea how to get to them on the computer. I've try the everything ,really don't how to get to them on the computer nor to how to put files on it. Also I've made a floppy disk and put the disk drive.
Can someone help me get the floppy disk and move files and programs and label it please. :)/>/>
MysticT #2
Posted 09 May 2012 - 11:17 PM
Put a disk drive on any side of the computer, then right-click on it and insert the floppy disk. There will be a directory named disk on the computer, place the files you want on that directory and they will be on the floppy.
Zalerinian #3
Posted 09 May 2012 - 11:20 PM
The disk drive must touch the computer on any of the six sides of it. To access the disk, right click on the disk drive and place the floppy disk form your inventory into the slot in the GUI. To get onto the disk from the computer, type "cd disk" without any quotes. You are now on the disk. to copy a file from the root of the computer, type "cp <file name AND directory on the computer> <File name AND directory to put it on the disk>" again without the quotes.

an example is as follows:

Suppose I have a file in a folder called hello, and the file name is hi.


cp /hello/hi /disk/hi-copy

this would copy the file named "hi" and put it on the floppy disk under the new name, "hi-copy"