is a senior correspondent and author of Notepad, who has been covering all things Microsoft, PC, and tech for over 20 years. Microsoft is finally planning to block Visual Basic for Applications (VBA) ...
5 seconds in google tells me that you can call Access with the "/compact" command line switch. Also, there's a KB article at support.microsoft.com that give further details.