fn: cd
[contents]

Contents

Syntax

The syntax for cd calls is:

f++:  
cd(path)
cd path 

n++:  
@cd(path)
@cd path 

Description

cd is the change directory function, it takes a single parameter that should be a path to change directory to.

f++ example

Examples of cd being used with f++:

cd("~/Downloads")
cd /usr/local/bin
cd "C:\Windows\system32"

n++ example

Example of cd being used with n++:

@cd("~/Downloads")
@cd /usr/local/bin
@cd "C:\Windows\system32)"