2008-01-24 引数を表示 JScript lesson001.js var arg = new Enumerator(WScript.Arguments); for (; !arg.atEnd(); arg.moveNext()) { WScript.Echo(arg.item()); }実行結果 C:\>cscript c:\study\jscript\chapter003\lesson001.js a bb ccc //nologo a bb ccc