cd
Changes Nelson current directory.
Syntax
- cd(dirname)
- cd dirname
- previous_path = cd(dirname)
- cd ..
- cd
Input argument
- dirname - a string: directory name to move.
Output argument
- previous_path - a string: previous directory.
Description
Changes the current working directory to dirname.
a = cd() without input argument returns the current working directory.
cd() without input argument displays the current working directory.
Example
previous = cd(tempdir())
cd
cd ..
See also
History
Version | Description |
---|---|
1.0.0 | initial version |
Author
Allan CORNET