CurDir$ Function

Syntax:
CurDir[$]([Drive$])
Group: File
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: ChDir, ChDrive.
Example:

Sub Main
Debug
.Print CurDir$()
End
Sub