Actually, you've got to call Access, the mdb file, and the workgroup file (unless you're using the default).
Here's a sample from one of mine:
"C:\Program Files\Microsoft Office\Office\msaccess.exe" "C:\BnkRecSW\Prdction\Tools\BnkRecFE.mdb" /wrkgrp G:\HOME\BANKREC\BnkRecSW\Prdction\Tools\BnkRec.mdw
It's all one line. It will, of course, require different directories, depending on how your system is set up.
Also, if you're interested in looking into what else you can do with batch files and Access databases, check out the Deploying Databases article on my website.
Jeremy ==
Jeremy Wallace
AlphaBet City Dataworks
Affordable Development, Professionally Done
Please post in the appropriate forum with a descriptive subject; code and SQL, if referenced; and expected results. See thread181-473997 for more pointers.