CurDir$ Function

Syntax

CurDir[$]([Drive$])

Group

File

Description

Return the current directory for Drive$.

Pocket PC

Not supported.

Sandbox

Sandbox mode blocks this function.

Parameters

Parameters 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


Sub Main
    Debug.Print CurDir$()
End Sub