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

Moving a Programm to a Floppy Disk

Started by Marra1996, 29 February 2012 - 11:57 AM
Marra1996 #1
Posted 29 February 2012 - 12:57 PM
Hi there!
I got a short noob question:
Is it possible to save a program i wrote to a floppy disk?
the move commands only lets me move .txt or something. it says no such file.
or can i do this wireless somehow?
thank you!
Liraal #2
Posted 29 February 2012 - 01:06 PM
wireless you need special software for (check tutorials and/or program library for it)

if you want to save it just type edit disk/whatever , just have a disk drive present

or you can copy an existing file by 'copy whatever disk/whatever'

Hope this can help you.
Marra1996 #3
Posted 29 February 2012 - 04:01 PM
Cool, thanks. But how do i copy it back to the PC?
should i type in Copy MineMove (thats how the file is called) PC/MineMove or what is the PC name?
Espen #4
Posted 29 February 2012 - 04:03 PM
@Marra1996:
Use "/" for the root of the computer, i.e.:
cp disk/MineMove /
You can also specify the name if you like:
cp disk/MineMove /MineMoveNewName
Edited on 29 February 2012 - 03:03 PM
Liraal #5
Posted 29 February 2012 - 04:03 PM
you should type copy disk/filename filename (just reverse the parameters)