help on login script
- From: "SG" <sguo@xxxxxxxxxxxxxxxx>
- Date: Wed, 19 Sep 2007 10:12:16 -0400
Hi,
Our DC is windows 2003 sp1, 90% of clients are windows XP pro. I'm changing
my login script in dos batch file to acheive this:
If login name is "frank", then run "net use y: \\server\folder".
My script is:
if %username%==frank goto dist_special
:dist_special
net use y: \\server\folder
:end
It works for any user even the login is not frank. I don't follow this. Can
anyone help me please?
Thanks in advance,
Sarah
.
- Follow-Ups:
- Re: help on login script
- From: Lanwench [MVP - Exchange]
- Re: help on login script
- Prev by Date: Re: GPO doesn´t apply.
- Next by Date: Re: GPO doesn´t apply.
- Previous by thread: Re: Detecting group membership from a .cmd file
- Next by thread: Re: help on login script
- Index(es):
Relevant Pages
|