I have a machine running Windows 7 which I set up a long time ago to autmatically log into Windows.
That's still working fine, but how can I work out the username of the currently logged-in user when I'm sat at the desktop?
Answer
From a cmd
window run:
echo %USERNAME%
No comments:
Post a Comment