🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #3775

Re: locating boot.ini

#3775
From: Remy Lebeau (TeamB)
Date: Tue, 09 May 2006 16:47
20 lines
1632 bytes
"Mike Collins" <its@TheBottomOfThePost.com> wrote in message
news:44606967@newsgroups.borland.com...

> I need to load and read some information from boot.ini but I'm faced
> with the problem of locating it.  I can't seem to find any information on
> if it is always stored on c:\... or if it can reside on other drive
letters.
> Also, I can't find if it's possible to have multiple boot.ini files
residing
> on a machine.  Finally does anyone know if there is a particular reg
> key or apis that specifics / returns the current boot.ini location for the
> active windows version?

boot.ini is located at "%homedrive%\boot.ini", where "%homedrive%" is an
environment variable that is set to a drive specification, ie "C:", "D:",
etc.


Gambit
Technical Details
Message-ID: <4460c836$3@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <44606967@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,96aff176f11cc858
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <44606967@newsgroups.borland.com>
Subject: Re: locating boot.ini 
Date: Tue, 9 May 2006 09:47:41 -0700
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <4460c836$3@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1147193398 68.69.17.41 (9 May 2006 09:49:58 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail