CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2004
    Location
    Texas, USA
    Posts
    1,206

    BOOT.INI -- What language does it use? How to use it?

    Hey guys, I have become recently interested in learning how to program the BOOT.INI file so that I can configure my computer to prompt for an operating system selection, or just skip the selection and load a default operating system.

    I have two partitions, one contains Windows XP Pro, the other contains Windows 2003. Right now, I hardly ever use Windows 2003, only on special occassions. I want to be able to "comment out" the line in my BOOT.INI file that allows selection of the Windows 2003 operating system, that way only my windows XP operating system is listed in my BOOT.INI file, so that it can load automatically without a selection screen.

    I appreciate any information anyone can give me. This includes direct information or links to useful sites that can address my needs. Thanks!

  2. #2
    Join Date
    Sep 2002
    Location
    Maryland - Fear The Turtle!
    Posts
    7,537
    there is this wierd little thing called www.google.com and msdn.microsoft.com you should try it

    http://www.microsoft.com/resources/d...c_str_masc.asp

    course this link comes from the windbg help file,which links back to msdn but you know...

  3. #3
    Join Date
    Feb 2004
    Location
    Texas, USA
    Posts
    1,206
    Yes I have used google, I ALWAYS use it before I waste space in the forums. I found nothing useful, but then again I have trouble thinking of useful keywords to search with.

  4. #4
    Join Date
    Sep 2002
    Location
    Maryland - Fear The Turtle!
    Posts
    7,537
    Originally posted by MrDoomMaster
    Yes I have used google, I ALWAYS use it before I waste space in the forums. I found nothing useful, but then again I have trouble thinking of useful keywords to search with.
    there are a couple of sites that list boot.ini configuration, like www.sysinternals.com, but I'd stick to msdn since they are most likely to update their own documentation. My comment on google and msdn is just trying to save you time and get the info to you quicker...not a slam

    but usually the keywords that I find that work best are:

    <what you are looking for> c++
    <what you are looking for> msdn
    <what you are looking for> c++ source

    my search:

    boot.ini msdn

    but then I knew they were on www.sysinternals.com and other places already, so I already had an advantage

    BTW: I prefer google over the msdn search engine..though if I can't find it via google <not likely> I slog it out on msdn...

  5. #5
    Join Date
    May 1999
    Location
    Southern California
    Posts
    12,266
    Originally posted by Mick
    there is this wierd little thing called www.google.com and msdn.microsoft.com you should try it
    For this the Microsoft TechNet can help. In the resource kits for the various operating systems are many tools. I know there is at least one for the boot.ini file. So it is likely there are solutions that do not require any programming, except for writing a simple script.

    Searching my local copy of XP help for boot.ini finds Bootcfg.
    "Signature":
    My web site is Simple Samples.
    C# Corner Editor

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured