teenguy 0 Posted March 4, 2002 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. Share this post Link to post
OLEerror 0 Posted March 4, 2002 Have them load the Command Prompt and run whoami. Share this post Link to post
lsavidge 0 Posted March 4, 2002 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 Share this post Link to post
clutch 1 Posted March 4, 2002 Or you can get "Whoami.exe" from here, which is a link off of the main "Free Tools" page over here. As for me, I use %username% all the time as mentioned before. Share this post Link to post
teenguy 0 Posted March 7, 2002 Thanks all for your answers. I've downloaded the whoami.exe Share this post Link to post