make-w32
[Top][All Lists]
Advanced

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

Re: Savannah W32 patches... are any OK?


From: Earnie Boyd
Subject: Re: Savannah W32 patches... are any OK?
Date: Tue, 1 Mar 2005 06:18:50 -0500 (EST)
User-agent: SquirrelMail/1.4.3a

<quote who="Paul D. Smith">
> %% Barry Kelly <address@hidden> writes:
>
>   >> 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].
>
>   bk> The environment variable:
>
>   bk>   OS=Windows_NT
>
>   bk> is what you're looking for.
>

The requirement is to know which shell cmd.exe or command.com.  I can set
COMSPEC=command.com on OS=Windows_NT.

> I'm not sure relying on an environment variable for something as basic
> as this is the best way to go, but ultimately it's up to you folks if
> you think it's the right way.
>

COMSPEC is the equivalent to SHELL.  It is available on DOS and Windows. 
I don't know if OS is.

Earnie

--
http://www.mingw.org
http://sourceforge.net/projects/mingw
https://sourceforge.net/donate/index.php?user_id=15438




reply via email to

[Prev in Thread] Current Thread [Next in Thread]