Desktop shortcut for multiple users that goes to same user profile sub directory

Hi all,

I have a front end Access application on a terminal server (Dialog.mdb) that sits in each users subdirectory i.e.
C:\Users\Bob\ResolveIT
C:\Users\Paul\ResolveIT
C:\users\Jennifer\ResolveIT

What I'm looking for is a desktop shortuct that I can distribute where it would work for all users
C:\users   is a fixed element
the ResolveIT sub-folder is a fixed element
but obviously the user name is relevant to the logged on user
Paul-bbcAsked:
Who is Participating?
 
Bill RossConnect With a Mentor Commented:
OOps.  Saw the db name so try:

"%HOMEPATH%\ResolveIT\Dialog.mdb"

Bill

0
 
Bill RossCommented:
Hi,

Try "%HOMEPATH%\ResolveIT\..."

Bill
0
 
oBdACommented:
That would probably be a Server 2008 (R2)?
"%UserProfile%\ResolveIT\Dialog.mdb"

BillDenver,
if a user has a home drive defined in his properties, then %HomeDrive% and %HomePath% will point to there, not to the local profile folder. The local user profile can be found in %UserProfile%.
0
 
Paul-bbcAuthor Commented:
Bills worked for me, but thanks for your comment oBdA
0
 
Paul-bbcAuthor Commented:
Worked frst time for the particular server/user profile configuration that was set on the terminal server in question so am awarding AAA etc.

Please note.  May not work in all cases, see other comments
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.