Nyquist / XLISP 2.0  -  Contents | Tutorials | Examples | Reference

setdir


Type:   -   function (subr)
Source:   -   sys/unix/osstuff.c, sys/win/msvc/winfun.c

Syntax

(setdir path) - set current directory
path - the path of the new directory
returns - the resulting full path or NIL if an error occurs

Description

The 'setdir' function sets current directory, e.g. (setdir ".") gets the current working directory.

Examples


See also listdir.

  Back to Top


Nyquist / XLISP 2.0  -  Contents | Tutorials | Examples | Reference