What is the %* or $* argument list equivalent for VBScript?
问题 Is there a %* (batch files) or $* (bash script) argument list equivalent for VBScript ? I want to retrieve the exact command line invocation. Contrived example: cscript //nologo script.vbs /arg1:a -s "a b" 1 c /arg2:"x y" "d e" -l '3 4' should return: /arg1:a -s "a b" 1 c /arg2:"x y" "d e" -l '3 4' (including the quotes). I have looked at WScript.Arguments but it doesn't return the verbatim command line. 回答1: There is no equivalent to %* or $* in VBScript. The WScript.Arguments collection