Important
Moved into regkit, which supports conversion between .bat/.cmd, .ps1, .reg via the 'Tools' menu
A simple CL tool that converts .reg to .bat to skip the prompt and implement it better into automations (e.g., into a image as RunOnce file) and overall more flexibility. I used Python for it, as I need a better understanding of it for school reasons.
Example output:
It supports:
REG_NONEREG_SZREG_EXPAND_SZREG_BINARYREG_DWORD/REG_DWORD_LITTLE_ENDIANREG_DWORD_BIG_ENDIANREG_LINKREG_MULTI_SZREG_RESOURCE_LISTREG_FULL_RESOURCE_DESCRIPTORREG_RESOURCE_REQUIREMENTS_LISTREG_QWORD/REG_QWORD_LITTLE_ENDIAN
.\reg2bat.py input.reg output.bat