Mail Archives: djgpp/1999/03/01/15:51:16

Message-ID: <>
Date: Mon, 01 Mar 1999 15:12:45 -0400
From: Endlisnis <s257m AT unb DOT ca>
X-Mailer: Mozilla 4.04 [en] (Win95; U)
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
To: djgpp AT delorie DOT com
Subject: Re: Detecting win95: the hard way
References: <8D53104ECD0CD211AF4000A0C9D60AE35C4BCB AT probe-2 DOT acclaim-euro DOT net> <36DABEF0 DOT C15ED449 AT eik DOT bme DOT hu>
X-Info: BrunNet, Inc. 888-278-6638
Reply-To: djgpp AT delorie DOT com

Dr. András Sólyom wrote:

> Shawn Hargreaves wrote:
> > I need a way to detect when a djgpp program (Allegro) is being run
> > under win95.
> > I thought about
> > checking for the "windir" environment variable, but that goes away
> In my machine the 'winbootdir' (lowercase!) variable remains visible, but I am
> running Win98 and have the windows directory on drive D.

    This is true for Win95 as well.  I have my boot drive as "C", and "winbootdir"
is still there.

     (\/) Endlisnis (\/)
          s257m AT unb DOT ca
          Endlisnis AT GeoCities DOT com
          Endlisnis AT BrunNet DOT Net
          Endlisnis AT HotMail DOT com

- Raw text -

  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019