delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/17/17:03:44

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: 17 Mar 2000 19:35:13 +0100
Organization: Svensk Amat|rAstronomisk F|rening (SAAF)
Lines: 22
Message-ID: <8attt1$kse$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> <8arkm8$m3h$1 AT newsg2 DOT svr DOT pol DOT co DOT uk> <38D24AAE DOT 9CDA50F 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 <38D24AAE DOT 9CDA50F AT americasm01 DOT nt DOT com>,
Campbell, Rolf [SKY:1U32:EXCH] <moscoop AT americasm01 DOT nt DOT com> wrote:
 
> Ben Davis wrote:
> 
>> All right. How do I read the Windows registry from a DOS program (if it's
>> possible)?
>> What part of the registry should I read?
> 
> I don't believe this is available to DOS programs.
 
Actually, thre is a plain DOS version of REGEDIT (it may even be in the
same .EXE) which converts the registry to and from ASCII text files.
Then it's not particularly difficult to read and fiddle with the
ASCII verison of the registry -- but it will be slow.
 
-- 
----------------------------------------------------------------
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