🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: locating boot.ini

#3770
From: Ed Mulroy
Date: Tue, 09 May 2006 12:08
25 lines
2262 bytes
There may not be such a file.  For example, I have no boot.ini on my Windows 
XP machine.  Might boot.ini be only for used the Windows 95/98/ME branch?

To find a file on the disk use the FindFirstFile/FindNextFile/FindClose set 
of Windows functions.  That set of functions works on a given directory so 
to search a while drive, start at the root and for every directory you find 
then search in it, and so on down the chain.  You can get a list of the 
drives with either of the Windows functions GetLogicalDrives or 
GetLogicalDriveStrings.

.  Ed

> Mike Collins wrote in message
> news:44606967@newsgroups.borland.com...
>
> Hi all, just a quickie, ive search MSDN and MS newsgroups to no avail so I 
> thought I'd ask the real experts :)
>
> 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?
Technical Details
Message-ID: <446086a1$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!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: "Ed Mulroy" <dont_email_me@bitbuc.ket>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <44606967@newsgroups.borland.com>
Subject: Re: locating boot.ini 
Date: Tue, 9 May 2006 08:08:40 -0400
Lines: 27
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2869
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 66.57.117.102
Message-ID: <446086a1$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1147176609 66.57.117.102 (9 May 2006 05:10:09 -0700)
X-Authenticated-User: edmulroy
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail