pwd
Print the current working directory.
Syntax
Section titled “Syntax”s = pwdDescription
Section titled “Description”Returns the path of the current working directory (where relative file paths are resolved from). Equivalent to the shell’s pwd.
Example
Section titled “Example”pwd % '/Users/me/projects'See also
Section titled “See also”filemarker— Character that separates a function name from its file name.filesep— Platform-specific path separator.fileparts— Split a file path into its components.