Next: Ports
Up: Built-in Parameters
Previous: Built-in Parameters
- (current-directory [path]) gets or sets a string path that determines the
current directory. When the parameter procedure is called to set the
current directory, the path argument is expanded and then simplified
using simplify-path (see section 11.2.1) and converted to
an immutable string; expansion and simplification raise an exception
if the path is ill-formed. Otherwise, if the given path cannot be
made the current directory (e.g., because the path does not exist),
the exn:i/o:filesystem exception is raised.
PLT