Two passwords in Access command-line

JiTS

Ciao!
Local time
Today, 19:48
Joined
Dec 12, 2003
Messages
77
Hi,

I would like compacting my database automatically with my task scheduler.

In this forum I found the following topic with the solution... I thought:
http://www.access-programmers.co.uk/...ad.php?t=98123

My database is only a .mdb Access 2000 file and contains a general password (access) and a user (Admin) without a password.
I use the following command-line for my database:
"C:\Program Files\Microsoft Office\Office11\MSACCESS.EXE" D:\MyDatabase.mdb /user Admin /pwd "" /excl /compact

When I run the command, Access opens and I get a message to fill in the general password.

Is it possible to add also the general password in the command-line?


Thanks! :)
 

Users who are viewing this thread

Back
Top Bottom