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