vbs 从命令行获取参数

cmd 文件

test.vbs hello world

test.vbs 文件

Set objArgs = WScript. Arguments
For x = 0 to objArgs.Count - 1
      msgbox objArgs(x)
Next


你可能感兴趣的:(cmd)