chdir
Line 42: | Line 42: | ||
[[category:Functions]] | [[category:Functions]] | ||
[[category:Davinci Core]] | [[category:Davinci Core]] | ||
+ | [[category:64-bit]] |
Revision as of 11:27, 6 July 2009
Contents: Description, Arguments, Usage, Examples, Related Functions Supported Under Version: >1.69 Current Davinci Version: 2.27 64-bit Safe: Yes
Description Changes the current working directory for the davinci session.
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 |