Microsoft Access 2000 and Batch file / Command Prompt

H

Hats666

When I try to invoke an Access 2000 database from a batch file, I am running
into issues.

In a batch file, I have
start /wait g:\arisdb.mdb

When the batch file is executed, it starts the arisdb.mdb and does what it
is supposed to do and then closes the database as expected.

However after the Access database is closed, the following error appears
"Cannot find the file 'g:\arisdb.mdb'(or one of its components). Make sure
the path and the filename are correct and that all required libraries are
available"

The batch file references the access database only once and each time, it is
finds and completes the access database step and then the error appears.

Also at the regular command prompt, when I tried
g:\> start /wait g:\arisdb.mdb
or
g:\> start g:\arisdb.mdb
or
g:\> start arisdb.mdb
or
g:\> arisdb.mdb

Each time it finds and opens the database but in the command window has the
following error
"The system cannot execute the specified program."

Can anyone please shed some light on this and let me know how this should be
resolved.

Thanks in advance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top