Visual Basic (VB) 注册表启动

需要管理员权限

Dim w
Set w = CreateObject("wscript.shell")
w.regwrite "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\" & App.exeName, App.Path & "\" & App.exeName & ".exe"

122 Comments

Leave a Reply