compact remotely using batch

userZ

Registered User.
Local time
Today, 05:09
Joined
Oct 14, 2014
Messages
12
hi. Within batch file, I use the following command:
MSACCESS.EXE mymdbpath /compact

I get the exclusive in use error. How can I suppress such error or warning messages from within the batch file?.
 
I recently starting compacting with a batch file by setting the database file to "Compact on Close" on running a Macro with the only command of "QuitAccess". This may work for you.
 

Users who are viewing this thread

Back
Top Bottom