Current Directory

S

Shell

In Access 2000, I am running an MDB.

When I execute the command curdir, I always get the location of Access, not
the current mdb. Without making an MDE, haw can I get the directory of the
MDB.
 
D

Douglas J. Steele

Even making an MDE won't change that behaviour.

Realistically, you should never make any assumptions about what curdir will
return. To get the location of the database file itself, use
CurrentProject.Path
 
Top