Re: Variable for NAME in start menu?



Take a look:

http://www.winguides.com/registry/display.php/370/

--
Microsoft MVP Windows - Shell/User


"Jose Gallardo" <jose.gallardo@xxxxxxxxxxxxxx> wrote in message news:evg8hLP0GHA.3464@xxxxxxxxxxxxxxxxxxxxxxx
When I type "echo %username%" I see my username...

--
Microsoft MVP Windows - Shell/User


"scroskey" <scroskey@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:1066A9A3-FF54-4AAB-BC6F-95C3B80C5162@xxxxxxxxxxxxxxxx
"Jose Gallardo" wrote:
It is not the %username% variable. When I deop to a dos prompt and type
echo %username% I get the student ID number not the student name. When I
click on start I get the student NAME not the ID number. These are not the
same. I am looking for the variable displayed in the start menu. It is what
ever is stored in the "display name" field of the active directory account.
I tested this by changing my account's display name to be "This is a Test".
I logged off, and back on with my username of scroskey. When I click on
start, the name at the top is "This is a Test", when I go to a dos prompt and
type echo %username% it comes up "scroskey". The BGInfo program already
displays the %username% variable and this does not help me since teachers do
not know what students ID numbers are. If I could display the full name of
the student, then teachers will know at a glance if the student has logged in
with the correct credentials.

It's the environment variable named

%username%

--
Microsoft MVP Windows - Shell/User



.



Relevant Pages

  • Re: Variable for NAME in start menu?
    ... When I type "echo %username%" I see my username... ... echo %username% I get the student ID number not the student name. ... I tested this by changing my account's display name to be "This is a Test". ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Linux Customization
    ... We want to customize the red-linux in following manner. ... One common method is to assign a username per student ... a student uses a single login for all classes, ...
    (comp.os.linux.development.system)
  • Re: Security Event Log madness.
    ... > play when you've got parents trying to protect their kids from being ... If her username and password were compromised by the other ... If you want a copy of our student AUP then I'll email you one if you like? ...
    (microsoft.public.win2000.security)
  • Re: Increasing security from student PCs
    ... once a username and password is compromised then its game over as any use of it will become a genuinely authenticated user. ... Being a college we have both student and staff users with appropriate rights ... As students only have access to the network from student PCs in classrooms ...
    (microsoft.public.security)
  • Re: Individual Record Permissions
    ... record being a different student and information. ... Correctly implement User Level Security, then set the .Enabled property of the form based on the login. ... I'm assuming that you'd store the student's username somewhere (you have to be able to ...
    (microsoft.public.access.security)