Page 1 of 1

Can it be done?

Posted: 28 Jul 2011 05:24
by rutima
Hi All,

I'm sure this has been asked before and on searching it does not seem likely.
But can you open a password protected access database using a bat/cmd file?
I know it can be done using vbs but unfortunatley our PC's at work are locked
so you cannot use vbs files. :cry:

Regards

Re: Can it be done?

Posted: 28 Jul 2011 14:07
by aGerman
Try:

Code: Select all

start "" msaccess.exe "c:\wherever\my.mdb" /Pwd MySecretPassword

http://support.microsoft.com/kb/105128/en

Regards
aGerman

Re: Can it be done?

Posted: 29 Jul 2011 07:38
by rutima
Hi,
thanks for your reply,

I tried that and it opens the database, but at the password screen and does not open the database.

Regards