You can use jetcomp.exe but you will still need to supply a user id and a password if you want to compact a secured database. Robert Berman
Data Base consultant
Vulcan Software Services
thornmastr@yahoo.com
You can use the shell command to open the database in exclusive mode and compact it. Just specify the username and password in the command line.
I do this every night on my system to compact a database after it updates. I don't have the exact command line options with me right now, but you can find it if you search the help file for command line options.
I also have all my desktop shortcuts include my username and password, so I don't have to type them in.
At first I didn't like this idea because I assumed you'd have to use the username/password of a member of ADMINS to do the compact (and I wouldn't want that username & password sitting in a shortcut command line for prying eyes to see).
Suprisingly, you don't have to be a member of ADMINS. Any user will do just fine.
For future readers of this post, the command line I use is:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.