lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Wed, Jan 5, 2011 at 2:39 PM, luciano de souza <luchyanus@gmail.com> wrote:
> I imagined I would get it with a command like "os.getenv('system') ==
> 'windows'", but there is no a environment variable called 'system'.
>
> What do you suggest?

COMSPEC is Windows specific, I think. Another candidates are PATHEXT
and HOMEDRIVE.

steve d.