Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

An Alternative to %USERNAME% ??

0 views
Skip to first unread message

Nick Cavalancia

unread,
Sep 15, 1997, 3:00:00 AM9/15/97
to

As I was reading your post, I thought of your last suggestion - use an
environment variable. You can set it in a login script and use it later.
--
Nick Cavalancia
MCSE/MCT/MCNE/CNI
caval...@msn.com

Larry Mattingly <lam...@crane-smtp.army.mil> wrote in article
<#hPOpTfw...@uppssnewspub04.moswest.msn.net>...
> I currently have several users that upon login automatically connect to
a
> common share on one PC called CAD. Underneath that folder (CAD) are
> subfolders named as each user's login ID. When they connect, I have then
> connect using something similar to the following:
>
> net use g: \\computername\CAD
>
> Then I gave the CAD application use a working directory called:
>
> g:\%username%\
>
> This is working just fine in getting the user started in their folder,
but
> when they wish to browse around to other user's folders things get
awkward
> for the user that is not familiar with other user's login IDs. I would
> rather name the folders as something easier to remember, such as LarryM,
> rather than their ID (e.g. lam323). This way, when they are browsing
other
> folders, they can much more easily know who's folder they are in.
>
> If I do this, how can I still get the user properly starting in their
folder
> still using their %username% info? Can a table, similar to the HOSTS
file
> be set up to deal w/ this as an alias (i.e. is the %username& info equals
> lam323, than user foldername LarryM)? Or can this possibly be done using
> environment settings (i.e. SET lam323=LarryM)?
>
>
> --
> Larry Mattingly
> Crane Army Ammunition Activity
> lam...@crane-smtp-army.mil
>
>
>
>

Larry Mattingly

unread,
Sep 15, 1997, 3:00:00 AM9/15/97
to
0 new messages