Solved

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

Posted on 2010-11-20
5
377 Views
Last Modified: 2012-06-27
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
0
Comment
Question by:Paul-bbc
  • 2
  • 2
5 Comments
 
LVL 14

Expert Comment

by:Bill Ross
ID: 34179515
Hi,

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

Bill
0
 
LVL 14

Accepted Solution

by:
Bill Ross earned 250 total points
ID: 34179516
OOps.  Saw the db name so try:

"%HOMEPATH%\ResolveIT\Dialog.mdb"

Bill

0
 
LVL 83

Expert Comment

by:oBdA
ID: 34179616
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
 

Author Comment

by:Paul-bbc
ID: 34179754
Bills worked for me, but thanks for your comment oBdA
0
 

Author Closing Comment

by:Paul-bbc
ID: 34179760
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

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question