Finding user name

How can I get user name from the variables in 2000? Like is I want to find a cd-rom drive I can use %CDROM%, so what is the one for the user name? Is there a list for all variables available in 2000? Thanks

Windows Networking 2246 This topic was started by ,


data/avatar/default/avatar08.webp

391 Posts
Location -
Joined 1999-07-24
How can I get user name from the variables in 2000?
Like is I want to find a cd-rom drive I can use %CDROM%, so what is the one for the user name?
Is there a list for all variables available in 2000?
 
Thanks

Participate on our website and join the conversation

You have already an account on our website? Use the link below to login.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


data/avatar/default/avatar03.webp

581 Posts
Location -
Joined 2002-04-27
This is funny.
 
here ya go.
 
%username%
 


data/avatar/default/avatar30.webp

556 Posts
Location -
Joined 2003-03-28
Quote:This is funny.

It sure is.

Its cool though because I didn't realize that.

data/avatar/default/avatar27.webp

1117 Posts
Location -
Joined 2000-01-23
To quickly see all the environment variables you currently have, just type "set" at a command prompt.