Shell.resolveProgram

From ComputerCraft Wiki
Jump to: navigation, search
Grid Redstone.png  Function shell.resolveProgram
Gets the absolute path to the program
Syntax shell.resolveProgram(string program)
Returns string path
Part of ComputerCraft
API shell

Examples

Grid paper.png  Example
Finds the path to default program "hello"
Code
shell.resolveProgram("hello")
Output rom/programs/computer/hello
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox