1.

Solve : password command in batch file?

Answer»

I have DEVELOPED an ACCESS database an protected with a password.

A BATCH file should run a macro every night to execute some tasks.

If the password is set, the batch file is not executed.
Access opens and asks for the password.

If I remove the password from the database, the batch file is executed correctly.

Which command do I have to add to indicate the password because I want to protect my database.
Quote

If the password is set, the batch file is not executed.
Access opens and asks for the password.
did access ask for password only or username/password?

what's the CMD line you are using to start the database?
is it database password or WORKGROUP password you set on the database?I personally wouldn't use a batch file to open something with that requires a password. If some one happened to get a copy of the batch they could have all the access they needed to your database.


Discussion

No Comment Found