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

change-directory Function

Summary

Changes the current directory.

Package

hcl

Signature

change-directory directory => current-dir

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

The function change-directory changes the current directory to that specified by directory. directory may be an absolute or relative pathname.

Use get-working-directory to find the current directory.

Notes

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

See also

cd
get-working-directory


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