chdir path
chdir("path")
Changes the current directory to the given path.
See also cd dir ls cmd grep
Example
chdir ..
chdir("examples/version2")
chdir examples/version3