请高手进来看看这是什么意思(一个脚本语言)

来源:百度知道 编辑:UC知道 时间:2024/06/07 00:41:08
dim fso
set fso=wscript.CreateObject("Wscript.shell")
wscript.sleep "3000"
fso.run "arp -d",0
fso.run "\\game\run$\star.vbs"
Wscript.quit

还有以下这个
dim objshell
Set objShell = CreateObject("Wscript.Shell")
objshell.run("E:\NBMSClient\BarClientView.exe"),0

不是太懂
看看单词,CREATEOBJECT 创建wscript.shell
SLEEP 等待 3000 应该是毫秒
RUN 运行 ARP -D
RUN 运行 game\run$\star.vbs

quit 退出

下面那个差不多

dim fso '定义一个变量fso
set fso=wscript.CreateObject("Wscript.shell") '让变量指向Wscript.shell
wscript.sleep "3000" '暂停3秒
fso.run "arp -d",0 '运行dos命令arp -d
fso.run "\\game\run$\star.vbs" ' 运行\\game\run$\上的START.vbs文件
Wscript.quit '退出

dim objshell '定义一个变量objshell
Set objShell = CreateObject("Wscript.Shell")'让变量指向 Wscript.Shell
objshell.run("E:\NBMSClient\BarClientView.exe"),0'运行E:\NBMSClient\BarClientView.exe程序