Shell.setDir
From ComputerCraft Wiki
Revision as of 05:07, 20 May 2013 by AfterLifeLochie (Talk | contribs) (Category operation: +Category:API_Functions)
| Sets the working directory. | |
| Syntax | shell.setDir(string directory) |
| Returns | nil |
| Part of | ComputerCraft |
| API | shell |
Examples
| Sets the directory. | |
| Code |
shell.setDir("rom")
|
| Output | rom> _ (Set to rom) |
Additional Notes
- It does not output anything, it just sets the working directory.