shell.dir

From ComputerCraft Wiki
Revision as of 10:36, 11 February 2013 by Jonjon1234 (Talk | contribs) (Page Creation. (Someone double check everything?))

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Grid Redstone.png  Function shell.dir
Returns the path to the currently running directory.
Syntax shell.dir()
Returns Current Directory
Part of ComputerCraft
API shell

Examples

Grid paper.png  Example
Code
shell.dir()
Output Path of the active directory.