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

get-working-directory Function

Summary

Finds the current working directory.

Package

hcl

Signature

get-working-directory => cwd

Values
cwd
The current working directory, as a pathname.
Description

The function get-working-directory is used to find the current working directory. It returns a pathname, the directory component of which is the current working directory.

Examples
CL-USER 1 > (get-working-directory)
#P"/u/dubya/"
See also

cd
change-directory


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