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

[Question] Problems with Disk Copy

Started by Foagel, 19 March 2012 - 04:10 PM
Foagel #1
Posted 19 March 2012 - 05:10 PM
Ok, I know there a lot of questions like this, and I looked and searched on them… I see that people get theire answers, but they dont work for me…
Okey, so I wanted to try to transport a program to another computer via. floppy disk.

Computer 1:
edit flue
print ("Hello!")
*Me saves file and exits*
>copy flue startup
*It said nothing so I tried again*
>copy flue startup
copy: 13 : File Exsists
*I thought the program now was in startup…*
>copy startup disk/startup
*I for safety copies again…*
>copy startup disk/startup
copy:13: File Exsists
*Me takes the Disk out from the Disk Drive*
*Me inserts Disk in Computer 2*

Computer 2:
>copy disk/startup startup
*Safety Again*
>copy disk/startup startup
copy :13: File Exsists
>reboot
CraftOS 1.3
*No "Hello!" for me?*
*Then I try to restart Computer 1*

Computer 1:
>Reboot
CraftOS 1.2
*No "Hello!" here either?*

Can somebody check if I do anything wrong?
I tried all this like five times, but nothing helped…
Also, when i type "edit startup" it says that i cannot edit a directory, I think i could edit it in the 1.2
I do runt the latest Tekkit version with Turtles, but it doesn't work…
MysticT #2
Posted 19 March 2012 - 05:25 PM
Do you have a directory named startup in computer 1?
If you do, that's the problem: you copy the file "flue" in the directory "startup", then copy that directory into the disk, and finally in computer 2.
To see the files and directories in a folder use list/ls, you'll see something like this:
> ls
rom startup

To check if startup is a file or directory use type:
> type startup

If it says directory, then delete startup (or rename it, so you don't lose it's contents) and try copying again.
Wolvan #3
Posted 19 March 2012 - 06:28 PM
Use my disk burner :D/>/>
Now seriously. If you copy a file it doesn't give any feedback.
Do it like this

edit flue
print("Hello")
* Save and exit
rename flue startup --You can skip this step if you don't need the program called startup
* Insert Disk
copy startup disk/startup --Use copy flue disk/startup if you didn't rename it above
* Take the disk
* Put in PC#2
copy disk/startup startup
* DONE
rockymc #4
Posted 19 March 2012 - 07:09 PM
Seriously, you gotta be kidding me. When you copy a file, it does not prints if the file was copied successfully. So, if it does not prints anything, means it is success.
Foagel #5
Posted 19 March 2012 - 07:19 PM
Ok, thanks. I don't know what a directory is, but this totally worked!
I deleted the file, cause i do not know what I had in there.
Thanks for answering me! I see you take this site serious like you should do.

I'm sorry for grammar fail. I'm not English.