Shell.resolve

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

Examples

Grid paper.png  Example
Finds the program/folder path. when in the folder herpderp/derp/
Code
shell.resolve("myFolder/hello")
Output herpderp/derp/myFolder/hello
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox