O$10.22: GetEnvironmentVariableW

Grzegorz (Greg) Pasternak gpasternak at cogeco.ca
Sat Aug 27 22:33:51 UTC 2022

Thanks for this note, as usual nothing is as easy as it seems!

Have a great weekend.

Grzegorz (Greg) Pasternak

> On Aug 27, 2022, at 5:20 PM, Kelly Burgess <kellyb at montana.com> wrote:
> Jean-Marc wrote:
>> Calculate vUser as getenv("USER")
> Turns out that getenv() arguments are case-sensitive, and that Mac and Windows differ in the labeling.  USER on Mac, USERNAME on Windows.  HOME on Mac, HOMEPATH on Windows.  PATH on Mac, Path on Windows.
> So listenv() is your friend here, helps identify the spelling and differences that getenv() expects.
> Kelly
> _____________________________________________________________
> Manage your list subscriptions at https://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 

More information about the omnisdev-en mailing list