I am trying to issue a command-line to compact a Access97 database but it asks for Logon Name and Password, and I am not sure how to get around that.

If I open the MDB file directly, it will ask me for a user-level password, which I have. But if I open the MDB file via command line, it first asks me for Logon Name and Password. I know that that Logon name is Admin and the Password is blank but I can't seem to be able to put these parameters on the command line.

Q1. Anyone know what parameters I should use on the command line for the Logon Name and Password? (I think the /pwd is for user-level password only)
Q2. Why am I not getting the same Logon Name/ Password dialog when open the MDB file directly?