current-directory

Function

Package: excl

Arguments: &optional use-cache drive

Return a pathname with the directory component holding the current directory. Note that when processing pathnames (the filename passed, for example, as an argument to load), the value of *default-pathname-defaults* is typically used instead of the current directory as returned by this function. The value of *default-pathname-defaults* may not be the same as the value returned by this function. chdir modifies the current directory (what is returned by this function) but does not modify *default-pathname-defaults*. In contrast, :cd modifies both.

See :pwd and :dirs, which both print the current directory. See also os-interface.htm for general information on the interface between in Allegro CL and the operating system.

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.