Index: base/applications/cmdutils/whoami/whoami.c =================================================================== --- base/applications/cmdutils/whoami/whoami.c (revision 0) +++ base/applications/cmdutils/whoami/whoami.c (working copy) @@ -0,0 +1,18 @@ +// Whoami +#include +#include +#include + + +int main(){ +TCHAR name [ UNLEN + 1 ]; +DWORD size = UNLEN + 1; + +if (GetUserName( (TCHAR*)name, &size )) +printf ("%s\n",name); +else +printf ("Who are you go away\n"); + + + +} \ No newline at end of file