
CODE: [Copy to clipboard]@echo off
echo @echo off>>reg.bat
for /f "tokens=*" %%a in ('type sz.reg') do echo echo %%a^>^>tmp.reg>>reg.bat
echo rename tmp.txt tmp.reg>>reg.bat
echo start /wait regedit /s tmp.reg>>reg.bat
echo del /q tmp.reg>>reg.bat
echo exit>>reg.bat
CODE: [Copy to clipboard]@echo off
echo @echo off>>reg.bat
for /f "tokens=*" %%a in ('type sz.reg') do echo echo %%a^>^>tmp.reg>>reg.bat
echo start /wait regedit /s tmp.reg>>reg.bat
echo del /q tmp.reg>>reg.bat
echo exit>>reg.bat
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |