Ask Question
23 January, 09:44

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

+4
Answers (1)
  1. 23 January, 13:21
    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?
Get an answer to your question ✅ “What is the command to display the user name with which youhave logged in? ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers