Can it be done?

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
rutima
Posts: 2
Joined: 01 Jul 2011 05:10

Can it be done?

#1 Post by rutima » 28 Jul 2011 05:24

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

aGerman
Expert
Posts: 4678
Joined: 22 Jan 2010 18:01
Location: Germany

Re: Can it be done?

#2 Post by aGerman » 28 Jul 2011 14:07

Try:

Code: Select all

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

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

Regards
aGerman

rutima
Posts: 2
Joined: 01 Jul 2011 05:10

Re: Can it be done?

#3 Post by rutima » 29 Jul 2011 07:38

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

Post Reply