和vbs/js中的WScript.arguments的用法一样啊~
① 代码:
wsf
bat:
@echo offcall cscript /nologo test.wsf "123" "456" "a b c"@echo on
② 运行:
123456a b c