Getting the Current User Name On Windows

Luis luis at anachreon.co.uk
Fri Oct 19 10:04:36 EDT 2007


Hiya,

It's 'net user' (without the apostrophies).

If you add the '/?' switch you get the list of options.

Cheers,

Luis.



On 19 Oct 2007, at 14:56, David Burgun wrote:

> Hi,
>
> I'm using the "whoami" shell  function to return the current user  
> name on the Mac. Does anyone know the equivalent code for Windows?
>
> Thanks a lot
> All the Best
> Dave
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>




More information about the use-livecode mailing list