Compatible Support Forums: Finding user name

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Finding user name

#1 User is offline   Igor 

  • enthusiast
  • Group: Members
  • Posts: 382
  • Joined: 24-July 99

Posted 29 April 2003 - 08:38 PM

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
0

#2 User is offline   duhmez 

  • addict
  • Group: Members
  • Posts: 583
  • Joined: 27-April 02

Posted 29 April 2003 - 08:53 PM

This is funny.

here ya go.

%username%

smile
0

#3 User is offline   ViolentGreen 

  • addict
  • Group: Members
  • Posts: 557
  • Joined: 28-March 03

Posted 29 April 2003 - 09:54 PM

Quote:
This is funny.


It sure is.

Its cool though because I didn't realize that.
0

#4 User is offline   DS3Circuit 

  • old hand
  • Group: Members
  • Posts: 739
  • Joined: 11-December 02

Posted 29 April 2003 - 10:20 PM

Quote:
Is there a list for all variables available in 2000?


http://support.microsoft.com/?kbid=100843
0

#5 User is offline   CUViper 

  • old hand
  • Group: Members
  • Posts: 1120
  • Joined: 23-January 00

Posted 30 April 2003 - 03:41 AM

To quickly see all the environment variables you currently have, just type "set" at a command prompt.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users