Description
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.