What's the easiest way to determine the logged on user in Windows XP (without loading any support tools)? I'm looking for something similar to the 'whoami' command but for Windows. I need something that'll display the domain and username.
Answer
Nevermind, I figured it out. Open a command prompt and type the following:
echo %userdomain%
echo %username%
No comments:
Post a Comment