Shell.resolve

From ComputerCraft Wiki
Revision as of 03:27, 3 October 2013 by Alekso56 (Talk | contribs) (adding page for shell.resolve)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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