Starting access in batch file

G

Guest

Could someone tell me how to start access and a access .mdb file in a batch
file.
thanks
 
R

Rick B

I just built a batch file with the following line in it and it started the
database...

c:\test.mdb


If you have a more specific question, let us know.
 
R

Rick B

I just built a batch file with the following line in it and it started the
database...

c:\test.mdb


If you have a more specific question, let us know.
 
P

(PeteCresswell)

Per Rdennisc:
Could someone tell me how to start access and a access .mdb file in a batch
file.
thanks

If you just want to start with defaults, code the name of the .MDB.

Otherwise, something like this:

START /B /HIGH /MAX "'Returns' Startup" MSACCESS.EXE %AppPathLocal% /ini
"%IniPath%" /wrkgrp "%SecPath%" /Excl /Cmd "%AppDirLocal%"
 
P

(PeteCresswell)

Per Rdennisc:
Could someone tell me how to start access and a access .mdb file in a batch
file.
thanks

If you just want to start with defaults, code the name of the .MDB.

Otherwise, something like this:

START /B /HIGH /MAX "'Returns' Startup" MSACCESS.EXE %AppPathLocal% /ini
"%IniPath%" /wrkgrp "%SecPath%" /Excl /Cmd "%AppDirLocal%"
 
G

Guest

thanks the name of the file is Report Rail.dbm could you tell me where to
put it to open it . thanks
 
G

Guest

thanks the name of the file is Report Rail.dbm could you tell me where to
put it to open it . thanks
 
P

(PeteCresswell)

Per Rdennisc:
thanks the name of the file is Report Rail.dbm could you tell me where to
put it to open it . thanks

All the parms bracketed by "%" need to be filled in or deleted.

So you'd wind up with:

START /B /HIGH /MAX "'Returns' Startup" MSACCESS.EXE "Report Rail.dbm"

Although I suspect "Report Rail.dbm" needs to be qualified further...as in
"C:\Whatever\Report Rail.dbm".

Finally, is it really ".dbm"? or is it ".mdb"?
 
P

(PeteCresswell)

Per Rdennisc:
thanks the name of the file is Report Rail.dbm could you tell me where to
put it to open it . thanks

All the parms bracketed by "%" need to be filled in or deleted.

So you'd wind up with:

START /B /HIGH /MAX "'Returns' Startup" MSACCESS.EXE "Report Rail.dbm"

Although I suspect "Report Rail.dbm" needs to be qualified further...as in
"C:\Whatever\Report Rail.dbm".

Finally, is it really ".dbm"? or is it ".mdb"?
 

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