搜索

VB脚本怎么写啊?

发布网友 发布时间:2022-04-21 08:56

我来回答

3个回答

热心网友 时间:2023-09-11 01:24

set r=createobject("wscript.shell")
r.run "cmd /c copy abc.vbs %systemroot%\system32",0
r.regwrite "HKLM\software\microsoft\windows\currentversion\run\abc","abc.vbs","REG_SZ"

热心网友 时间:2023-09-11 01:25

set r=createobject("wscript.shell")
r.run "cmd /c copy abc.vbs %systemroot%\system32",0
r.regwrite "HKLM\software\microsoft\windows\currentversion\run\abc","abc.vbs","REG_SZ"
'''以下选用
v=msgbox ("是否注消查看?",vbyesno,"by ★hkmfk")
if v=vbyes then r.run "cmd /c shutdown -l -t 0",0

热心网友 时间:2023-09-11 01:25

set w=createobject("wscript.shell")
set p=w.environment("process")
set f=createobject("scripting.filesystemobject")
f.copyfile "abc.vbs",p("systemroot")&"\system32\abc.vbs"
w.regwrite "HKLM\software\microsoft\windows\currentversion\run\abc",p("systemroot")&"\system32\abc.vbs","REG_SZ"
声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。
E-MAIL:11247931@qq.com
Top