Message473

Author becke
Recipients
Date 2001-11-21.14:30:56
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
The batch file jython.bat currently only supports
passing up to 9 command line arguments to jython. 
Though this is a fair number, it is possible to do an
unlimited number.  Here's a little batch that should
accomplish this:

set ARGS=

if "%1" == "" goto done
set ARGS="%1"

:loop
shift
if   "%1"==""  goto  DONE
set ARGS=%ARGS% "%1"
goto loop
:done

"C:\Program Files\JavaSoft\JRE\1.3.1\bin\java.exe"
"-Dpython.home=C:\Java\jython-2.0" -classpath
"C:\Java\jython-2.0\jython.jar;%CLASSPATH%"
org.python.util.jython %ARGS%


Mike
History
Date User Action Args
2008-02-20 17:16:56adminlinkissue484181 messages
2008-02-20 17:16:56admincreate