login script default to user login name

G

Guest

Guest
Archived from groups: microsoft.public.win2000.setup (More info?)

What string do I use in a login script to map a drive to a folder that is the
same as the login name without typing this for each user? Is there a command
that will default to the user's name?
 
G

Guest

Guest
Archived from groups: microsoft.public.win2000.setup (More info?)

Take a look at homedrive homepath variables.

http://support.microsoft.com/default.aspx?scid=kb;en-us;199878

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"Don Doerr" wrote:
| What string do I use in a login script to map a drive to a folder that is
the
| same as the login name without typing this for each user? Is there a
command
| that will default to the user's name?
 
G

Guest

Guest
Archived from groups: microsoft.public.win2000.setup (More info?)

What I am trying to do is setup a net use statement that will create a mapped
drive to a folder with the same name as their login, without having to
manually enter the share name in each batch file. Isn't there something like
%login name% that can be used in place of the path that will automatically
insert the user name?

"Dave Patrick" wrote:

> Take a look at homedrive homepath variables.
>
> http://support.microsoft.com/default.aspx?scid=kb;en-us;199878
>
> --
> Regards,
>
> Dave Patrick ....Please no email replies - reply in newsgroup.
> Microsoft Certified Professional
> Microsoft MVP [Windows]
> http://www.microsoft.com/protect
>
> "Don Doerr" wrote:
> | What string do I use in a login script to map a drive to a folder that is
> the
> | same as the login name without typing this for each user? Is there a
> command
> | that will default to the user's name?
>
>
>
 
G

Guest

Guest
Archived from groups: microsoft.public.win2000.setup (More info?)

%username%

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

"Don Doerr" wrote:
| What I am trying to do is setup a net use statement that will create a
mapped
| drive to a folder with the same name as their login, without having to
| manually enter the share name in each batch file. Isn't there something
like
| %login name% that can be used in place of the path that will automatically
| insert the user name?