Batch command to close an access database

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Dj The Emperor
    New Member
    • Feb 2010
    • 1

    Batch command to close an access database

    Hi all,

    I'm preparing a batch file to execute the following commands:
    - compact a db
    - run a macro
    - re-compact the db

    The problem is that the first "compact" does not work if the db is open, so i need a bat command to close/quit the db. Can someone please help me?

    Thank you in advance.

    DE
Working...