注册表文件reg转批处理bat

作者:Alex    更新时间:2007-12-14 15:12:56
@echo off
echo @echo off >reg.bat
for /f "tokens=*" %%a in ('type reg.reg') do echo echo %%a^>^>tmp.reg>>reg.bat
echo echo regedit /s tmp.reg>>reg.bat
echo ping -n 2 127.0.0.1 >>reg.bat
echo del /q tmp.reg >>reg.bat
上一篇:WIN2003抵御DDOS攻击
下一篇:数据库自动备份代理.sql
网友评论
相关文章
站长推荐