Programming Reference Manual
 
Syntax
 
CurDir[$]([Drive$])
 
Description
Return the current directory for Drive$.
 
Parameter
Description
Drive$
This string value is the drive letter. If this is omitted or null then return the current directory for the current drive.
See Also
Example
 
Sub Main
    Debug.Print CurDir$()
End Sub