Rodney M. Dyer <[EMAIL PROTECTED]> wrote:
>  So the only variable we have left is
> "%username%".  How am I supposed to setup folder redirection?
> I can't use:
>      "n:\cell\usr\a\%username%\pc\win_data\Desktop"
>
> That won't work since the parent folders are different for every user.

I have not tested this (all my user directories are out of a single 
folder) but can one use the documented set command envirnoment variable 
display options (set /?) to obtain the first (second, third, etc.) 
letter of a username?

C:\>echo %USERNAME%
Administrator

C:\>echo %USERNAME:~0,1%
A

C:\>echo %USERNAME:~1,1%
d

<<CDC
-- 
Christopher D. Clausen


_______________________________________________
OpenAFS-info mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-info

Reply via email to