For use in WinBuilder scripts, I developed this command line tool.

But I think that it may be interesting for other purposes, too.

In the Windows world, from XP upto Win7, there are different files containing MBRs and/or boot records.

This tool extracts these records into files.

It is rather intelligent and lets you e.g. just define a Windows OS install CD (or it's copy to HDD) and will extract the records you need.

Console output when you start the app w/o arguments:
QUOTE
bootExt Version 2.4.0
Copyright © 2009 Peter Schlang

Syntax: -I:{<in file>|<in dir>} -O:{<out file>|<out dir>} -{M|N|C|F|1} [-Y] [-5] [-A]

<in file>: Path to an existing file to extract the record from
<in dir>: Path to an existing OS install CD or it's copy on HDD
<out file>: Path to the record file to write to
<out dir>: Path to an existing directory to write all records into

Output formats:
-M > MBR
-N > NTFS PBR
-C > CD BR
-F > FAT32 PBR
-1 > FAT12 PBR

-Y > Overwrite existing output file without asking

Vista / Win7 only:
-5 > Extract "/nt52" records (-N,-F,-1 only)
-A > If <out dir> is defined: Extract all "/nt52" and "/nt60" records

Input file or source directory is mandatory!

Output file or output directory is mandatory!

One and only one output format must be defined!

Press Enter to exit ...


Sample:
CODE
-i:V:\BCD\cds\W7_32_DE_RC1\ -O:V:\WB\projects\pscProgs\bootExt\Test /A

generates:
Click to view attachment

The tool is available at http://nativeex.boot-land.net/Programs/bootExt/bootExt.7z

Peter

BTW: To post in 'Rest of the World' in my opinion is a 'Work around'
I did not find a forum where logically to post this IMHO usable post.