I have this in my login script.

SET @U="%CN"

In an attempt to pass the username who logged into Netware network to
the local machines enviromental variables. Doesn't seem to work. If my
local profile is set to user1, but I login as user2. when I type set at
a cmd prompt, it returns user1 and not user2.

Mr. Beer