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

[Question] Access Denid during saving code

Started by Larius, 03 April 2012 - 06:59 PM
Larius #1
Posted 03 April 2012 - 08:59 PM
Heya,

I'm new to computercraft (using Minecraft 1.2.4 and the newest version of computer craft (1.32)) so I watched some tutorials on youtube. But when I try to create my own program (via edit foobar - yes, i know, very creative :)/>/>) I receive an "Access Denied" error when I try to save my code.

This is my code - a simple "Hello World":


write("Hello World\n")

Would be happy if anyone give me some tips how to solve my problem.

Greetings
Larius
Cloudy #2
Posted 03 April 2012 - 09:02 PM
You're in the rom folder. Go to your main computer folder (type cd /) then try edit again.
Larius #3
Posted 03 April 2012 - 09:13 PM
Aaaaaah, okay. I thought i must write my own programs in the program folder to use them correctly.

And how do i get my own code into the startup folder so it will run when i start the computer?
Cloudy #4
Posted 03 April 2012 - 09:22 PM
No need to put it in the startup file there. You can create a file named "startup" on your computers main directory, and that will be ran when starting the computer.
Larius #5
Posted 03 April 2012 - 09:57 PM
Alright, thank you for your help :)/>/>
djblocksaway #6
Posted 04 April 2012 - 03:02 PM
this error also occurs when you try save a file to a disk but the disk isnt there :)/>/>
1139 #7
Posted 06 April 2012 - 05:50 AM
Accidentally posted in the wrong thread. Ignore this reply.