G
Guest
In Control Panel -> User Accounts, XP gives users the option to change their
username. After changing names, the user can then use this name for logon,
as well as use their original name as specified in the Documents and Settings
folder (both usernames direct to the same user account settings).
Now for the details of my question. There is an environment variable
%username% that is set on the original name of the user (the one in Docs and
Settings). Is there a variable that is set to the new name of the user
(changed in User Accounts) that I can access? If not, how and where can I
find this username specifically and set it as a variable? Note that the value
of this variable is different for each user, just as the variable %username%
is.
Any Suggestions?
username. After changing names, the user can then use this name for logon,
as well as use their original name as specified in the Documents and Settings
folder (both usernames direct to the same user account settings).
Now for the details of my question. There is an environment variable
%username% that is set on the original name of the user (the one in Docs and
Settings). Is there a variable that is set to the new name of the user
(changed in User Accounts) that I can access? If not, how and where can I
find this username specifically and set it as a variable? Note that the value
of this variable is different for each user, just as the variable %username%
is.
Any Suggestions?