Results 1 to 2 of 2
  1. #1
    Nisha is offline Novice
    Windows XP Access 2003
    Join Date
    Aug 2009
    Posts
    1

    Need help regarding .bat file trying to open access databse

    Everyday one .bat file runs on my machine. It tries to open access databse. Now user has provied a password for the same access databse. .bat file prompt for a password. My issue is can we supply password from a .bat file so that it should not wait for a user to enter it ?
    I know the line in a .bat file from where it will ask for the password.


    Can anyone help me with some command for it ?

  2. #2
    dcrake's Avatar
    dcrake is offline Competent Performer
    Windows XP Access 2003
    Join Date
    Aug 2009
    Posts
    435
    I don't think that this is possible froma .bat file, however you can do this if you create as .bas file. This is a vb scripting file look for more info on this subject.

    David

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 06-04-2009, 07:43 AM
  2. Access Databse
    By mbarmecha in forum Access
    Replies: 3
    Last Post: 05-26-2009, 02:23 PM
  3. Open / Save as Excel File and specifiy format
    By jaykappy in forum Access
    Replies: 8
    Last Post: 03-24-2009, 03:26 PM
  4. Why 2 users cant open an access file directly???
    By finnegan bell in forum Access
    Replies: 6
    Last Post: 03-22-2009, 09:06 PM
  5. Can not open File already in use.
    By Wrangler in forum Access
    Replies: 1
    Last Post: 03-04-2009, 09:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums