Ask Question
16 December, 20:40

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

+1
Answers (1)
  1. 16 December, 21:24
    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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers