shell.setPath

From ComputerCraft
Jump to: navigation, search

shell.setPath
Function
Syntax
shell.setPath()
Returns nil
API shell
Source CC:Tweaked (source)

Set the Shellpath.

The Shellpath is a list of folders, where the shell are searching for programs. The directories are separated with :.

ExampleExampleSet the Shellpath
Add "/programs" to the Shellpath.
Code
shell.setPath(shell.path()..":/programs")