Starting Access application with a batch file.

T

TADropik

My Access application is split in to 2 mdb's, a client interface and the data.

The client interface resides on the local computer and the data resides on
the server.

I often update the client interface and put the new version on the server
along side the data.

The user then executes a batch file that copies the client interface to the
local and opens it from there.

The problem with useing a batch file is it keeps the Cmd.exe window open
even after the Access mdb is open.

Is there a better way to do this so an extra window doesn't remain open?
 
D

Dirk Goldgar

TADropik said:
My Access application is split in to 2 mdb's, a client interface and the
data.

The client interface resides on the local computer and the data resides on
the server.

I often update the client interface and put the new version on the server
along side the data.

The user then executes a batch file that copies the client interface to
the
local and opens it from there.

The problem with useing a batch file is it keeps the Cmd.exe window open
even after the Access mdb is open.

Is there a better way to do this so an extra window doesn't remain open?


How are you starting the database from the batch file? I just tested this
in a batch file:

start /D "C:\Users\Dirk\Documents" test.mdb

and the command window closed after the database was loaded.
 
T

TADropik

I see now that it was my lack of experience with Batch Files.
That did it Dirk.

Thank you.
 

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