|
Home > Archive > microsoft.public.certification > December 2002 > Using %Variables% in Win2K logon scripts.
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Using %Variables% in Win2K logon scripts.
|
|
| Michael Patten 2002-12-21, 8:23 am |
| I have been studying for 2K Pro & Srv, but cannot find anything which may
assist in my below query.
Does anyone know the variable for the dir of a user's profile???
I would like to implement some changes to a logon script...
EXAMPLE ONLY:
"
Net use z: \\Server\Share$
Copy z:\NewCorpData\*.* %Profile%\Desktop\Corporate_Da
ta_Folder\ .
Net Use z: /Delete
"
--
Regards,
Michael Patten
_________________
MCSE(NT4), CLS, DipIT.
| |
|
| %USERPROFILE%
type SET at cmd prompt to see environment variables.
"Michael Patten" <MickPatten AT bigpond.com> wrote in message
news:us0#rOPqCHA.1612@TK2MSFTNGP11...
> I have been studying for 2K Pro & Srv, but cannot find anything which may
> assist in my below query.
>
> Does anyone know the variable for the dir of a user's profile???
> I would like to implement some changes to a logon script...
>
> EXAMPLE ONLY:
> "
> Net use z: \\Server\Share$
> Copy z:\NewCorpData\*.* %Profile%\Desktop\Corporate_Da
ta_Folder\ .
> Net Use z: /Delete
> "
>
> --
>
> Regards,
>
> Michael Patten
> _________________
> MCSE(NT4), CLS, DipIT.
>
>
>
|
|
|
|
|