Getting the Current User Name On Windows
kray at sonsothunder.com
Fri Oct 19 11:07:20 CDT 2007
On Fri, 19 Oct 2007 16:31:27 +0200, Klaus Major wrote:
> Hi Dave,
>> I'm using the "whoami" shell function to return the current user
>> name on the Mac.
> You can have this one even without using shell!
> put $USER into tCurrentuser
> does the same in Rev, at least on OS X :-)
>> Does anyone know the equivalent code for Windows?
Actually for Windows its $USERNAME...
Sons of Thunder Software, Inc.
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/
More information about the use-livecode