This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
FuuuAInfiniteLoop(F.A.I.L)'s profile picture

run program in other folder

Started by FuuuAInfiniteLoop(F.A.I.L), 12 February 2013 - 02:34 AM
FuuuAInfiniteLoop(F.A.I.L) #1
Posted 12 February 2013 - 03:34 AM
I want to use a folder that i created(bin/programs) to run programs like they were in rom/programs

it is posibble?
Lyqyd #2
Posted 12 February 2013 - 03:40 AM
Yep. Just use shell.setPath or whatever it is to include that directory in the paths it searches.
AnDwHaT5 #3
Posted 12 February 2013 - 05:19 AM
Look at the api section. I know to load a api would be os.loadAPI("yourprogram") but i dont remember how to create a api. You can always make a folder in the programs in the computer out of the game and load the api there.
Lyqyd #4
Posted 12 February 2013 - 06:43 AM
Look at the api section. I know to load a api would be os.loadAPI("yourprogram") but i dont remember how to create a api. You can always make a folder in the programs in the computer out of the game and load the api there.

This is completely unrelated to the question being asked.