Visual Basic for Applications Reference

Visual Studio 6.0

CurDir Function

See Also    Example    Specifics

Returns a Variant (String) representing the current path.

Syntax

CurDir[(drive)]

The optional drive argument is a string expression that specifies an existing drive. If no drive is specified or if drive is a zero-length string (""), CurDir returns the path for the current drive.

Show: