Monday, April 20, 2009

How to find out current logon username and domain (via dos command)

  1. Open command prompt window (by typing in cmd in Start-> Run textbox).
  2. Type echo %userdomain%\%username% and press enter.

No comments: