OverviewClamps PackagesCM DictionaryClamps DictionaryFomus

cd

Function

(cd [directory])

Sets the current working directory. If directory is not specified then the working directory is set to the user's home directory.

Examples

;; Setting the current working directory.
(cd "/tmp")
⇒ "/tmp/"
(cd)
⇒ "/Users/hkt/"

See also