If I have the following script (that just prints the first argument to the console):
@if (@X)==(@Y) @end /* JScript comment @echo off cscript //E:JSc
It works with named arguments after all.
WScript.Echo(WScript.Arguments.Named.Item("test"));
and
cscript myscript.wsf /test:"//test"