Batch file to open secure file /wrkgrp switch won't work

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi, I need a batch file to open the following, but mine isn't working:

start "C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE"
"c:\mydatabase.mdb" /WRKGRP "c:\secured.mdw"

The switch isn't being recognized. What am I missing? Thanks.
 
meldrape said:
Hi, I need a batch file to open the following, but mine isn't working:

start "C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE"
"c:\mydatabase.mdb" /WRKGRP "c:\secured.mdw"

The switch isn't being recognized. What am I missing? Thanks.

How do you know? Are you getting an error? The syntax of the command looks
okay to me.
 
Hi Rick,

Thanks for your reply.

Yes, I am getting the typical error you get when you try to open a secured
database directly. The batch command is bypassing the switch. Syntax looked
good to me too. I did a lot of shifting things around before I finally
posted. So, it's not the end of the world, a shortcut will work. But the
batch file is cleaner because we can run it in our startup script.

If you have any other ideas, let me know. Many thanks again.
 
Back
Top