delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/16/19:20:38

From: Damian Yerrick <Bullshitd_yerrick AT hotmail DOT comRemoveBullshit>
Newsgroups: comp.os.msdos.djgpp,comp.os.msdos.programmer
Subject: Re: Detecting Windows and Windows directory from DOS
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <qft2dsk6mso6suit8q0aikucnffq0cb77q@4ax.com>
References: <8am5ub$o0v$1 AT news6 DOT svr DOT pol DOT co DOT uk> <38D108E3 DOT D9821E3B AT americasm01 DOT nt DOT com> <8arkm8$m3h$1 AT newsg2 DOT svr DOT pol DOT co DOT uk>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 30
X-Trace: /ba9QcUdz6QCfZ+EPGsbi9jP63dlK0GdAvN1tR6FJWzMm3CeHthwtNwkOcE+CV7p+1kCzSp/a9BO!15+KVXgbl+tPgY1dH/pDBfAXOQ2blxenwkCHVK/PtZMjOZMsV7sFnfMGCGby9qs9zZ2P7pEaInA6!PR/x+js=
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Fri, 17 Mar 2000 00:06:08 GMT
Distribution: world
Date: Fri, 17 Mar 2000 00:06:08 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Thu, 16 Mar 2000 17:41:43 -0000, "Ben Davis"
<ben AT vjpoole DOT freeserve DOT co DOT uk> wrote:

>Campbell, Rolf [SKY:1U32:EXCH] wrote in message
><38D108E3 DOT D9821E3B AT americasm01 DOT nt DOT com>...
>>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,

Unlikely.

>>then your program would fail to add to it.

Installer:  "If you've moved your Start Menu folder,
you will have to add the shortcut manually."

>All right. How do I read the Windows registry from a DOS program (if it's
>possible)?

That's what I've been wondering.  Why doesn't it just store
its registry as text like GNU/Linux does?

-- 
Damian Yerrick  http://yerricde.tripod.com/
Comment on story ideas: http://home1.gte.net/frodo/quickjot.html
AOL is sucks! Find out why: http://anti-aol.org/faqs/aas/
View full sig: http://www.rose-hulman.edu/~yerricde/sig.html

This is McAfee VirusScan. Add these two lines to your .sig to
prevent the spread of .sig viruses.  http://www.mcafee.com/

- Raw text -


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