本帖最后由 powerbat 于 2012-3-19 21:21 编辑
- '1.vbs
- set tch=wscript.createobject("wscript.shell")
- tch.run "2.vbs arg1 ""hello, vbs"" arg3"
- 'do something else.
- set tch=nothing
- ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
- '2.vbs
- set args = WScript.Arguments
- for i=0 to args.length-1
- msgbox args(i)
- next
复制代码 Referrence
Windows脚本技术手册(script56.chm)
http://www.bathome.net/thread-1985-1-1.html |