Comment 4 for bug 1199798

Revision history for this message
RaiMan (raimund-hocke) wrote : Re: [1.0] Command line arguments cut off

The problem is the implementation (quick and dirty ;-) of the Windows command file sikuli-script.cmd, that allows only 9 entries after the parameter -r (including script name).

A current workaround would be to use the generated java command directly or a stripped down command file version like this:
@echo off
SETLOCAL
IF "%SIKULIX_HOME%"=="" set SIKULIX_HOME=%~dp0
set JAVA=... path to the java.exe to be used
set PARMS=-Xms64M -Xmx512M -Dfile.encoding=UTF-8

%JAVA% %PARMS% -cp "%SIKULIX_HOME%sikuli-script.jar" org.sikuli.script.SikuliScript %*
ENDLOCAL