Hi.
If you just want to start Access, then the path and file name of the
executable located on your computer is appropriate:
"C:\Program Files\Microsoft Office\OFFICE\MSACCESS.EXE"
If there are any illegal characters contained in the path or file name, then
ensure that this is enclosed in double quotes.
However, if you want to open a specific database file, with or without
command-line switches, then the syntax requires the paths of the executable
and the database file, and would be like the following (watch out for word
wrap, as this is all one line):
"C:\Program Files\Microsoft Office\OFFICE\MSACCESS.EXE"
"C:\MyDir\MyDB.mdb" /excl
.. . . which opens the MyDB.mdb file exclusively. For a list of all of the
command-line switches for Access 97, please see the following Web page:
http://support.microsoft.com/kb/105128/
HTH.
Gunny
See
http://www.QBuilt.com for all your database needs.
See
http://www.Access.QBuilt.com for Microsoft Access tips and tutorials.
http://www.Access.QBuilt.com/html/expert_contributors2.html for contact info.