Ask Question
13 September, 16:55

What is the command to display the user name with which youhave logged in?

+4
Answers (1)
  1. 13 September, 17:11
    0
    echo %username%

    whoami

    Explanation:

    In windows the command used to display user name which you have logged in is echo %username%. Note that it is only for windows platform only. It works on all released windows platforms.

    There is another command whoami it tells the domain name also along with the username.

    You have to write all these commands on the command prompt.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “What is the command to display the user name with which youhave logged in? ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers