Microsoft Access Function Library: CurDir() Function: CurDir()
Purpose: The CurDir() function returns a string containing the current working directory.
Usage: CurDir(drive)
Returns: String containing the current working directory for drive. If no drive is specified, it returns the current working directory for the C: drive.
Examples and Special Cases
CurDir(“C”) = “C:\MYDIR”
CurDir(“D”) = “D:\YOURDIR”
CurDir() = “C:\MYDIR”