delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/14/16:44:32

From: "Ben Davis" <ben AT vjpoole DOT freeserve DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp,comp.os.msdos.programmer
Subject: Detecting Windows and Windows directory from DOS
Date: Tue, 14 Mar 2000 19:57:01 -0000
Organization: Customer of Planet Online
Lines: 13
Message-ID: <8am5ub$o0v$1@news6.svr.pol.co.uk>
NNTP-Posting-Host: modem-40.clonazepam.dialup.pol.co.uk
X-Trace: news6.svr.pol.co.uk 953064203 24607 62.136.85.168 (14 Mar 2000 20:03:23 GMT)
NNTP-Posting-Date: 14 Mar 2000 20:03:23 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Newsreader: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I need to write an installation program for my DOS game. I want to design it
so that if it detects Windows 95 or higher it puts the game in the Start
Menu.

I can detect Windows from DOS - that part's easy, as I use Allegro which has
the function built in. But can I detect the actual Windows directory? How?

By the way, I have no decent experience or documentation on Windows
programming. One day...

Ben Davis


- Raw text -


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