sz.reg转换成reg.bat的批处理
- 作者: 老油条找豆浆
- 来源: 51数据库
- 2021-08-25
sz.reg转换成reg.bat.bat
@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
复制代码 代码如下:
@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
推荐阅读