Article View: borland.public.cppbuilder.nativeapi
Article #3773Re: locating boot.ini
From: Ed Mulroy
Date: Tue, 09 May 2006 14:03
Date: Tue, 09 May 2006 14:03
87 lines
3315 bytes
3315 bytes
You are correct. It is hidden and system. When I did a DIR /S with /as and
with /ah it did not show. After seeing your reply I did it without the /S
and it shows.
----------------------------------------
C:\
>ver
Microsoft Windows XP [Version 5.1.2600]
C:\
>dir boot.ini
Volume in drive C has no label.
Volume Serial Number is FC8D-A209
Directory of C:\
File Not Found
C:\
>dir /ah boot.ini
Volume in drive C has no label.
Volume Serial Number is FC8D-A209
Directory of C:\
06/06/2005 05:27 PM 211 BOOT.INI
1 File(s) 211 bytes
0 Dir(s) 35,302,158,336 bytes free
C:\
>dir /as boot.ini
Volume in drive C has no label.
Volume Serial Number is FC8D-A209
Directory of C:\
06/06/2005 05:27 PM 211 BOOT.INI
1 File(s) 211 bytes
0 Dir(s) 35,302,158,336 bytes free
C:\
>type boot.ini
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Microsoft Windows XP
Professional"
/noexecute=optin /fastdetect
C:\
>
----------------------------------------
> Alan Bellingham wrote in message
> news:m7516298em23gpnb2j9449af89a3csg9gq@4ax.com...
>
>>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?
>
> Have you checked in c:\? It's not immediately obvious:
>
> -------------------------------------------------
> C:\>dir boot.ini
> Volume in drive C is Win2K
> Volume Serial Number is 84ED-4755
>
> Directory of C:\
>
> File Not Found
>
> C:\>attrib boot.ini
> A SH C:\boot.ini
>
> C:\>
> -------------------------------------------------
>
>>To find a file on the disk ...
>
> I don't think any recursive option is required - if it's not in the root
> directory, I don't expect ntldr (or is it ntdetect.com) to bother doing
> a full scan through all directories. It's reasonable for an OS loader
> to require vital files to be easily accessible.
>
> However, it might possibly be on a volume that's not actually visible
> to the OS, so I suspect it's not going to be an easy
Technical Details
Message-ID:
<4460a12a$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.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-mailReferences:
<44606967@newsgroups.borland.com> <446086a1$1@newsgroups.borland.com> <m7516298em23gpnb2j9449af89a3csg9gq@4ax.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> <446086a1$1@newsgroups.borland.com> <m7516298em23gpnb2j9449af89a3csg9gq@4ax.com> Subject: Re: locating boot.ini Date: Tue, 9 May 2006 10:03:23 -0400 Lines: 89 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; Original NNTP-Posting-Host: 66.57.117.102 Message-ID: <4460a12a$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1147183402 66.57.117.102 (9 May 2006 07:03:22 -0700) X-Authenticated-User: edmulroy Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.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