chdir
Contents: Description, Arguments, Usage, Examples, Related Functions Supported Under Version: >1.69 Current Davinci Version: 2.27 64-bit Safe: Yes
Description "Change Directory". Changes the current working directory for the davinci session. Equivalent to cd, change directory, in Unix.
Arguments and Return Values Arguments: The path of the directory desired Return Value: None. The working directory is changed.
Usage Syntax: chdir(dir = STRING) The path is specified from the current directory. To go back up one directory input the string "..". To go to an immediate subdirectory, input the subdirectory name with or without the full path. The command "!pwd" shows the parent working directory.
Examples dv> !pwd /work/knowicki/library dv> chdir("wiki") "wiki" dv> !pwd /work/knowicki/library/wiki dv> chdir("../..") "../.." dv> !pwd /work/knowicki dv> chdir("library/wiki") "library/wiki" dv> !pwd /work/knowicki/library/wiki |
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Recent Core Changes Modified On: 10-08-2013 |