Opening Access db with password in command line arguments doesn't work

G

Grober

I have protected an Access db with a simple password (through
Tools-Security-Password). When I try to open the database from the command
prompt by typing

msaccess.exe c:\db1.mdb /pwd mypassword

it only opens an extra logon box with my user name in it, prompting for a
password which I don't have. Why doesn't the db open when I pass the
password as an argument?

Regards
/Grober
 
R

Rick Brandt

Grober said:
I have protected an Access db with a simple password (through
Tools-Security-Password). When I try to open the database from the command
prompt by typing

msaccess.exe c:\db1.mdb /pwd mypassword

it only opens an extra logon box with my user name in it, prompting for a
password which I don't have. Why doesn't the db open when I pass the
password as an argument?

I believe the /pwd parameter is only for Access User-Level Security, not for the more
basic file-level password.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top