CurDir$ Function
Syntax
CurDir[$]([Drive$])
Group
Description
Returns the current directory for Drive$.
Pocket PC
Not supported.
Sandbox
Sandbox mode blocks this function.
Parameters
| Parameters | Description |
|---|---|
| Drive$ | The drive letter. If this is omitted or null, it returns the current directory for the current drive. |
See also
Sub Main Debug.Print CurDir$() End Sub