login script default to user login name


G

Guest

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?
 
Ad

Advertisements

D

Dave Patrick

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

:
| 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

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?
 
Ad

Advertisements

D

Dave Patrick

%username%

--
Regards,

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

:
| 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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Login script 0
User login and profiles 2
Login script to remove startup program 3
New user account can not login 1
Login Error 1
administrator login 0
Slow login process 1
Bypass the login screen 1

Top