All Manuals > LispWorks® User Guide and Reference Manual > 37 The HCL Package

cd Macro

Summary

Changes the current directory.

Package

hcl

Signature

cd &optional directory => current-dir

Arguments
directory
A pathname designator specifying the new directory.
Values
current-dir
A physical pathname.
Description

The macro cd changes the current directory to that specified by directory. directory may be an absolute or relative pathname, and defaults to the string "~/".

Notes

cd should not be used in multithreaded applications. In general we discourage you from using it.

See also

change-directory
get-working-directory


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:35