shell.dir

From ComputerCraft
⧼vector-jumptonavigation⧽ ⧼vector-jumptosearch⧽

shell.dir
Function
Syntax
shell.dir()
Returns string path
API shell
Source CC:Tweaked

Returns the current shell directory. Setable by shell.setDir.

ExampleExampleGet the current shell directory.
Returns the current shell directory.
Code
shell.dir()
Output
Path of the current shell directory.