Shortcut target path

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

Guest

I'm having a bit of trouble here with the shortcut. If I have to write the
target path, including "path to MSACCESS.EXE" I think I have a problem. I'm
not sure how to write it. my path to msaccess.exe is C:\Program
Files\Microsoft Office\OFFICE11

What comes next?
 
Freehal04 said:
I'm having a bit of trouble here with the shortcut. If I have to write the
target path, including "path to MSACCESS.EXE" I think I have a problem. I'm
not sure how to write it. my path to msaccess.exe is C:\Program
Files\Microsoft Office\OFFICE11

First, put it in quotes (because the path has a space in it)
"C:\Program Files\Microsoft Office\OFFICE11\msaccess.exe" "path to mdb" /wrkgrp "path to mdw"

That's all on one line.
 
Okay, so here is what it would look like

C:\Program Files\Microsoft Office\OFFICE11\msaccess.exe"
"\\essorgfs02\Proposal_Resources\CDRL Database\CDRL123.mdb"
"\\essorgfs02\Proposal_Resources\CDRL Database\CDRL123.mdw"

I named my db the same as my mdw and I'm guessing that wasn't a good idea.
Does the target path look right?
 
Change the name of the mdw. You can just change the file name in windows explorer, and then you only need to change the shortcut - it won't affect anything else.

Your target isn't quite right. You forgot the /wrkgrp switch. It should be

C:\Program Files\Microsoft Office\OFFICE11\msaccess.exe" "\\essorgfs02\Proposal_Resources\CDRL Database\CDRL123.mdb" /wrkgrp "\\essorgfs02\Proposal_Resources\CDRL Database\SomeNewName.mdw"
 
Okay, redid the path and I got a weird error. "The name 'C:\Program'
specified in the Target box is not valid. Make sure the path and file name
are correct.'

This is strange because the folder on the c drive is called 'Program Files'.
Why is it trying to recognize the wrong folder name? What am I missing? As
always, thanks so much for your help.
 
You need to enclose each path in double quotes
"C:\Program Files\..."
Looks like I missed the initial double quote below.

--
Joan Wild
Microsoft Access MVP
Freehal04 said:
Okay, redid the path and I got a weird error. "The name 'C:\Program'
specified in the Target box is not valid. Make sure the path and file name
are correct.'

This is strange because the folder on the c drive is called 'Program Files'.
Why is it trying to recognize the wrong folder name? What am I missing? As
always, thanks so much for your help.
 
OMG! It finally works!!!!! I thought this day would never come. I guess
now all I have to do is split it. For right now i only have 1 user. Do you
recomend splitting it now, or waiting until my beta testing with my one user
is over?
 
I would split it now. Split it manually - don't use the splitter wizard, as that will leave the backend unsecured.

See www.jmwild.com/SplitSecure.htm for instructions.

Be sure to put the frontend on each person's computer (adjust their shortcut target to point to the location of the frontend mdb on their computer). You may (but not likely) have to modify the path to the msaccess.exe file if it differs on each machine. Put the mdw in the same location as the backend.
 
so if I split the DB and have the user save the front end on their C drive
the path would look like this?
"C:\Program Files\Microsoft Office\OFFICE11\msaccess.exe" "C:\CDRL123.mdb"
/wrkgrp "\\essorgfs02\Proposal_Resources\CDRL Database\CDRLSecurity.mdw"
 
Yes.

--
Joan Wild
Microsoft Access MVP
Freehal04 said:
so if I split the DB and have the user save the front end on their C drive
the path would look like this?
"C:\Program Files\Microsoft Office\OFFICE11\msaccess.exe" "C:\CDRL123.mdb"
/wrkgrp "\\essorgfs02\Proposal_Resources\CDRL Database\CDRLSecurity.mdw"
 
Thank you so much for all your help Joan. It goes without saying, I couldn't
have done it without you.
 
Back
Top