Shorcut with pointing to two ACCESS.EXE

E

erick-flores

Hello all

I am having a lil problem here. Is there a way to create just ONE
shorcut that points to two (2) different folders where the ACCESS.EXE
is located?

e.g. "C:\Program Files\Microsoft Office2003\OFFICE11\MSACCESS.EXE"
"\\Hou0602\Intranet\Expense Report Interface\Expense Report Interface
..MDB" /WRKGRP "\\Hou0602\Intranet\Expense Report
Interface\Security.mdw"

BUT what if the MSACCESS.EXE is locates under the folder C:program
Files\Microsoft Office\OFFICE11\MSACCESS.EXE...can I mix both with just
one shorcut, so I dont need to save the shorcut and then change the
properties of the shorcut in order to point to a different folder?

Thanks...
 
A

Andrew Tapp

You could try creating a batch file and testing the various folders e.g.

IF EXIST "C:\Program Files\Microsoft Office2003\OFFICE11\MSACCESS.EXE"
GOTO ONE

IF EXIST "C:program
Files\Microsoft Office\OFFICE11\MSACCESS.EXE"
GOTO TWO

GOTO EXIT

:ONE
"C:\Program Files\Microsoft Office2003\OFFICE11\MSACCESS.EXE"
"\\Hou0602\Intranet\Expense Report Interface\Expense Report Interface
...MDB" /WRKGRP "\\Hou0602\Intranet\Expense Report
Interface\Security.mdw"

GOTO EXIT

:TWO
"C:program
Files\Microsoft Office\OFFICE11\MSACCESS.EXE"
"\\Hou0602\Intranet\Expense Report Interface\Expense Report Interface
...MDB" /WRKGRP "\\Hou0602\Intranet\Expense Report
Interface\Security.mdw"

GOTO EXIT

:EXIT

Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top