Username
I need to be able to instruct a computer novice how to determine their username, i. e. the name replacing Administrator in C:\Documents and Settings\Administrator. What is the simplest way to do this.
I need to be able to instruct a computer novice how to determine their username, i.e. the name replacing
"Administrator" in C:\Documents and Settings\Administrator. What is the simplest way to do this.
"Administrator" in C:\Documents and Settings\Administrator. What is the simplest way to do this.
Participate on our website and join the conversation
This topic is archived. New comments cannot be posted and votes cannot be cast.
Responses to this topic
open a dos window and type:
echo %username%
This will show you who you are logged in as. It will be the name of the sub directory in Documents and Settings. At last check Win2k Professional doesn't have a whoami command. Cygwin does but that requires you to have Cygwin installed, or at least some other unix shell in Windows.
HTH
/Lee
echo %username%
This will show you who you are logged in as. It will be the name of the sub directory in Documents and Settings. At last check Win2k Professional doesn't have a whoami command. Cygwin does but that requires you to have Cygwin installed, or at least some other unix shell in Windows.
HTH
/Lee