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

Startup Help

Started by Jumbub1, 09 January 2013 - 08:41 PM
Jumbub1 #1
Posted 09 January 2013 - 09:41 PM
Hey guys, I am pretty new to the computer craft mod, and am LOVING it! Get to have my favourite hobby in my favourite game!

Anyway, I am trying to run a program from disk inside my disk drive, the problem is when I run the disk's startup it searches for the programn but cant find it. The program is called password and is in the disk itself, I am not sure if thats a problem, neither am I sure how to move it. The program is completely debbuged and runs perfectly if I just run manually. Not sure on any more information I should be giving you?

It states "No such program", I think that means its in the wrong file position?
theoriginalbit #2
Posted 09 January 2013 - 09:42 PM
Post code please. either in code tags [code][/code] or if it is long, pastebin.
Jumbub1 #3
Posted 09 January 2013 - 10:23 PM
The code for the startup program is just
[ shell.run("password") ]
theoriginalbit #4
Posted 09 January 2013 - 10:24 PM
Didn't you say it was on a disk? If so use:

shell.run( "disk/password" )
Jumbub1 #5
Posted 09 January 2013 - 10:26 PM
YES! Thankyou for very quick reply :D/>
theoriginalbit #6
Posted 09 January 2013 - 10:28 PM
no problems. :)/>