cd

cd(target_dir) allows to change working directory to target_dir, where target_dir is a string specifying the path to the desired working directory.

Both relative and absolute paths can be specified.

Limitations:
cd has to be executed on its own (i.e. not within a script).

Examples

> cd('C:\Users\My M folder')

> cd('..\..\My M folder')

See also

dir | path | pwd