[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Savannah W32 patches... are any OK?
From: |
Barry Kelly |
Subject: |
Re: Savannah W32 patches... are any OK? |
Date: |
Mon, 28 Feb 2005 13:10:00 +0000 |
On Mon, 28 Feb 2005 07:07:15 -0500 (EST), Earnie Boyd
<address@hidden> wrote:
> > Well, yes, but how does one look at the Windows version? :-).
> >
>
> The basename value of the COMSPEC variable should be enough; if == cmd.exe
> then NT else DOS. You might wish a command line switch for those who've
> replaced their windows shell with something else and have changed the
> COMSPEC value; E.G. -O [DOS|NT].
The environment variable:
OS=Windows_NT
is what you're looking for.
-- Barry
Re: Savannah W32 patches... are any OK?, Alessandro Vesely, 2005/02/28