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

From: pausch AT saafNOSPAM DOT se (Paul Schlyter)
Newsgroups: comp.os.msdos.djgpp,comp.os.msdos.programmer
Subject: Re: Detecting Windows and Windows directory from DOS
Date: 16 Mar 2000 18:46:27 +0100
Organization: Svensk Amat|rAstronomisk F|rening (SAAF)
Lines: 22
Message-ID: <8ar6lj$o7h$1@merope.saaf.se>
References: <8am5ub$o0v$1 AT news6 DOT svr DOT pol DOT co DOT uk> <38D108E3 DOT D9821E3B AT americasm01 DOT nt DOT com>
NNTP-Posting-Host: merope.saaf.se
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

In article <38D108E3 DOT D9821E3B AT americasm01 DOT nt DOT com>,
Campbell, Rolf [SKY:1U32:EXCH] <moscoop AT americasm01 DOT nt DOT com> wrote:
 
> Ben Davis wrote:
> 
>> 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.
> 
> You can get the windows directory in the 'windir' environment variable, but the
> location of the Start Menu is stored in the windows registry, so if somebody
> moves their Start Menu, then your program would fail to add to it.
 
In addition, there are really more than one Start Menu.  There are one
Start Menu each for each user, and another one for "All Users".
 
-- 
----------------------------------------------------------------
Paul Schlyter,  Swedish Amateur Astronomer's Society (SAAF)
Grev Turegatan 40,  S-114 38 Stockholm,  SWEDEN
e-mail:  pausch at saaf dot se   or    paul.schlyter at ausys dot se
WWW:     http://hotel04.ausys.se/pausch    http://welcome.to/pausch

- Raw text -


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