@echo offfor /f "tokens=*" %%a in ('type sz.reg') do echo echo %%a^>^>tmp.reg>>reg.batecho echo regedit /s tmp.reg>>reg.bat