Curdir$

System function.

The Curdir$ function returns the current working directory.

Syntax

var$=Curdir$()

Return value

var$, string containing the current working directory.

See also

ChDir

Example

 

directory$ = Curdir$() 'directory$ contains "c:\winword" if the current working directory is c:\ winword.