Tuesday 1 January 2019

How to determine logged on user in Windows XP?


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

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...