You will need an awful lot of command line utilities to go with it (and even more when the missing features will be added), for now:
dsfo/dsfi from the DSFOK package:
The files need to be in the same directory where MBRBatch.cmd is or in the PATH, the batch will prompt you for missing files.
Here is a main screen, to let you have an idea of what it (hopefully) does:
mbrbatch.cmd batch file to manage MBR's Release 0.01 Pre_ALPHA 1st Oct. 2007by jaclaz, this file is licensed under my "CAREWARE" license:[url="http://home.graffiti.net/jaclaz:graffiti.net/careware.html"][url="http://home.graffiti.net/jaclaz:graffiti.net/careware.html"][url="http://home.graffiti.net/jaclaz:graffiti.net/careware.html"]http://home.graffiti.net/jaclaz:graffiti.net/careware.html[/url][/url][/url]General syntax is mbrbatch.cmd COMMAND [parameters], commands are:CREATE targetfile Creates MBR from a 2K/XP file saving it as targetfileVIEW source Shows partition entries in source MBRCOPY source targetfile Copies a MBR from source, saving it as targetfileEDIT sourcefile [params] Edits one partition entry in MBR fileUPATCH sourcefile Patches sourcefile with "HP" USB/int13 modification (sourcefile must contain 2K/XP MBR code)WRITE source target [/F] Writes a MBR file to targetMKIMG filesize Creates an image of given size, complete of MBR (NOT YET AVAILABLE)HELP command Displays help for the given commandNotes:[source] can be a file or a drive number, [sourcefile] must be a 512 bytes file[target] can be a file or a drive number, [targetfile] must be a NEW fileIf any non-optional parameter is missing, it will enter interactive mode.
The command is relatively safe, as it operates mainly on files, the only exception is the WRITE command that can write to disk (writing to \\.\PHYSICALDISK0, i.e. boot drive needs to be forced, however).
It is ALPHA, a LOT of corners still need to be rounded, and temp files and variables are not (yet) managed completely in the proper way, but it appears to be working.
Your suggestions, bug reporting (if any ) and ideas are welcome.