Shorcut with pointing to two ACCESS.EXE

  • Thread starter Thread starter erick-flores
  • Start date Start date
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...
 
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.
 
Back
Top