- 帖子
- 3
- 积分
- 25
- 技术
- 0
- 捐助
- 0
- 注册时间
- 2012-2-21
|
set tch=wscript.createobject("wscript.shell")
tch.run "test.vbs"
set tch=nothing
两个VBS脚本之间可以如此相互调用,参数不知道如何传递。
你要的效果,一个脚本就可以了。
option explicit
dim nr,bt
nr=inputbox("输入显示内容","显示内容")
bt=inputbox("输入显示标题","显示标题")
call xs (nr,bt)
sub xs (rn,tb)
msgbox rn,,bt
end sub |
|