All Manuals > LispWorks User Guide and Reference Manual > 38 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 - 20 Sep 2017

NextPrevUpTopContentsIndex