var objArgs = WScript.Arguments; for (var i = 0; i < objArgs.length; i++) WScript.Echo(objArgs.Item(i));