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

NextPrevUpTopContentsIndex

get-working-directory

Function
Summary

Finds the current working directory.

Package

hcl

Signature

get-working-directory => cwd

Arguments

None.

Values

cwd

The current working directory, as a pathname.

Description

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

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

cd
change-directory


LispWorks User Guide and Reference Manual - 21 Dec 2011

NextPrevUpTopContentsIndex