Hi all...
Does anyone know how to find the Windows login name of the current user on a Win95/98 machine. Something like the "whoami" function of Unix.
On some machines you can find it from the Start menu, because there is a "Log Off xxxxx" entry... but not always.
NT and 2K is easy because there is a system variable (username) defined when the user logs on.Thanks
Mr-Mayhem
Does anyone know how to find the Windows login name of the current user on a Win95/98 machine. Something like the "whoami" function of Unix.
On some machines you can find it from the Start menu, because there is a "Log Off xxxxx" entry... but not always.
NT and 2K is easy because there is a system variable (username) defined when the user logs on.Thanks
Mr-Mayhem