[contents]
Contents
Syntax
The syntax for cd calls is:
Description
cd is the change directory function, it takes a single parameter that should be a path to change directory to.
Note: Nift will skip to the first non-whitespace (ie. to the first character that is not a space, tab or newline) after a cd call and inject it to the output file where the call started. If you want to prevent Nift from doing this put a '!' after the call, eg.:
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)"