Reg2Bat is a powerful conversion program to convert a registry file (.reg) to a batch-script file (.bat/.cmd).
See a conversion example:
Version 2.4
Fixed:- Command redirection for CALL commands.
- Commentlines now are separated by an empty line.
Version 2.3
Added:- Support for convert these value types: REG_NONE, REG_RESOURCE_LIST, REG_RESOURCE_REQUIREMENTS_LIST and REG_FULL_RESOURCE_DESCRIPTOR.
- If a value of type REG_MULTI_SZ and REG_EXPAND_SZ is empty, the program throws an error.
- Updated the ‘Test.reg’ testing file with all the new value types.
Version 2.2
Added:- Option to force registry overwritting.
- Option to abbreviate RootKey names.
- The percent characters (“%) of a ‘Default’ value (@=) was not correctlly converted.
- Extended the option ‘Redirect commands to NULL’ to specify better custom redirection.
Version 2.1
Added:- Added support to recognize the deletion of a default value. ( In a Regedit Script: ’”@==-’ )
- All the ‘RegEx.Split’ operations, to gain speed were replaced with ‘IndexOf’ method.
- A misstype with the BINARY value splitter that was adding an character in the Batch command. ( Solved changing ‘=HEX’ to ‘=HEX:’ )
- Application version in the application settings was wrong. ( This can be found in the caption of an informatiion/error MessageBox ).
- Binary, Dword and Qword values now are shown as UPPER-CASE.
- Replaced the usage of old VB6 math methods. ( Changed ‘Chr(Val(“&H” & [Byte]))’ to ‘Convert.ToChar(Convert.ToInt32([Byte], 16I))’)
- The main button text. ( Changed ‘Click to load a registry file…’ to ‘Load a registry file…’)
Version 2.0
Added:- Progress Information for GUI.
- Application was written from scratch.