Batch conversion from sz.reg to reg.bat

Time:2021-9-15

Sz.reg to reg.bat.bat

Copy codeThe code is as follows:
@echo off

for /f “tokens=*” %%a in (’type sz.reg’) do echo echo %%a^>^>tmp.reg>>reg.bat

echo echo regedit /s tmp.reg>>reg.bat