Shell.resolveProgram
From ComputerCraft Wiki
Function shell.resolveProgram | |
Gets the absolute path to the program | |
Syntax | shell.resolveProgram(string program) |
Returns | string path |
Part of | ComputerCraft |
API | shell |
Examples
Example | |
Finds the path to default program "hello" | |
Code |
shell.resolveProgram("hello") |
Output | rom/programs/computer/hello |