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

Floppy Disk Question

Started by bloodless2010, 13 July 2012 - 08:49 PM
bloodless2010 #1
Posted 13 July 2012 - 10:49 PM
Hey there!
I recently started playing Tekkit with a buddy of mine.
And Tekkit ofcourse has ComputerCraft, and I myself are in to computers a lot and programming.
I create a Lua program and I would like to transfer it onto a floppy disk, how would I do this?
I have a disk drive to the left of the console if that matters.
Thank you!

EDIT; I worked out how to copy programs over ect, How do I delete directory's I don't need because I made a few extra by testing.
MysticT #2
Posted 13 July 2012 - 10:57 PM
To copy files you can use the copy program:
> copy <source path> <destination path>
So to copy to a floppy you use:
> copy /YourFile /disk/YourFile

Each floppy creates a directory named disk<Number>, the first one is just "disk", the second one is "disk1" (or "disk2", can't remember now).
You can look what's inside the directoy to distiguish between them. You can use:
> ls disk
To list the contents of the disk.

The FORT boot disk is from RedPower, nothinf to do with CC.
LucasUK #3
Posted 13 July 2012 - 10:58 PM
here:

http://www.computercraft.info/forums2/index.php?/topic/2100-how-to-move-programs/]

Chers
bloodless2010 #4
Posted 13 July 2012 - 11:02 PM
Yeah I worked out the things that were RedPower, because it didnt work XD
I managed to move the program onto the disk, and it moves around fine, how do I delete directory's because I create some which I dont need xD
MysticT #5
Posted 13 July 2012 - 11:21 PM
remove or rm:
> rm <path>
deletes the given file/directory.
Why don't you try these:
> programs
and then check what does each one with:
> help <programName>
bloodless2010 #6
Posted 13 July 2012 - 11:25 PM
remove or rm:
> rm <path>
deletes the given file/directory.
Why don't you try these:
> programs
and then check what does each one with:
> help <programName>
Thank you for telling me the rm, it isn't listed on help index or programs.
Thank you :P/>/>
MysticT #7
Posted 13 July 2012 - 11:28 PM
Well, it's listed as delete (I tought it was remove), rm is just an alias to it.