Shell.setDir
From ComputerCraft Wiki
Function shell.setDir | |
Sets the running directory. | |
Syntax | shell.setDir(string directory) |
Returns | nil |
Part of | ComputerCraft |
API | shell |
Examples
Example | |
Sets the Directory. | |
Code |
shell.setDir("rom") |
Output | rom> _ (Set to rom) |
Additional Notes
- It does not Output anything, it just sets the Directory.