Date: Fri, 17 Mar 2000 13:21:50 +0600 (LKT) From: Kalum Somaratna aka Grendel X-Sender: root AT darkstar DOT grendel DOT net To: djgpp AT delorie DOT com Subject: Re: Detecting Windows and Windows directory from DOS In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com Errors-To: dj-admin AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Fri, 17 Mar 2000, Damian Yerrick wrote: > On Thu, 16 Mar 2000 17:41:43 -0000, "Ben Davis" > wrote: > >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? Wehe windoze registry contains very important information about the system and if this file was in text instead of binary it would encourage users to play around with it and causing so god knows how many problems with the system. So IMHO I think that the windoze registry being in binary is a Good Thing(tm). I mean I have even seen windoze users fireup notepad and open a DLL, and they arent a bit bothered about the binary garbage that they see at the beginning, scroll until they find some text and change it and save the DLL, and expect everything to work as it did before. So even the registry being in binary isn't safe. Grendel Hi, I'm a signature virus. plz set me as your signature and help me spread :)