日期:2014-05-17  浏览次数:20857 次

win7如何添加开机启动项?
const HKEY_LOCAL_MACHINE = &H80000002  
Set oReg=GetObject("winmgmts:\\.\root\default:StdRegProv")  
strKeyPath = "Software\Microsoft\Windows\CurrentVersion\Run\"  
strValueName = "test"  
strValue = "c:\Programdata\1.vbs"  
oReg.SetStringValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,strValue  

------解决方案--------------------
Google搜索关闭UAC